diff options
author | Leif Johansson <leifj@sunet.se> | 2012-04-05 10:15:40 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-04-05 10:15:40 +0200 |
commit | e289ffe449c340c3d9c2c136ead87adbf93d9563 (patch) | |
tree | 2ab6e788e195c43095af421e4bf57e9a24582b45 | |
parent | ce5f23da111c6b649f6df57b48f084e90f7b66f6 (diff) |
text/xml ct
-rw-r--r-- | coip/apps/saml2/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coip/apps/saml2/views.py b/coip/apps/saml2/views.py index 28f533d..f109094 100644 --- a/coip/apps/saml2/views.py +++ b/coip/apps/saml2/views.py @@ -124,6 +124,6 @@ def aq(request): aa_response = _aa_reply(aa, aq, claims, sp_entityid) xml = soap.make_soap_enveloped_saml_thingy(aa_response) logging.debug(xml) - return HttpResponse(content=xml, content_type="application/soap+xml") + return HttpResponse(content=xml, content_type="text/xml") else: return HttpResponseBadRequest("<html><head><title>No</title></head><body><h1>Bad Request</h1><p>Go sell crazy someplace else, we're all stocked up here!</p></body></html>")
\ No newline at end of file |