Commits

Anonymous committed 81ea68e

full path

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')
+            response['X-XRDS-Location']= request.build_absolute_uri(reverse('oid_xrdf'))
         return response