Commits

benoitc  committed d1ec1c1

add location to realm url

  • Participants
  • Parent commits 0d0099f

Comments (0)

Files changed (1)

File 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