Commits

Anonymous committed d1ec1c1

add location to realm url

Comments (0)

Files changed (1)

django_authopenid/middleware.py

                     request.META['HTTP_ACCEPT']) == 'application/xrds+xml':
             response = xrdf(request)
             response['Content-Type'] = "application/xrds+xml"
+            response['X-XRDS-Location']= reverse('oid_xrdf')
         return response