0006-changed-.raw_post_data-to-.body-as-per-django1.4-dep.patch
authentic2/saml/common.py | ||
---|---|---|
58 | 58 |
assert request.method == 'POST' \ |
59 | 59 |
and 'CONTENT_TYPE' in request.META \ |
60 | 60 |
and 'text/xml' in request.META['CONTENT_TYPE'], 'not a SOAP message' |
61 |
return request.raw_post_data
|
|
61 |
return request.body
|
|
62 | 62 | |
63 | 63 |
def get_http_binding(request): |
64 | 64 |
if request.method in ('GET', 'HEAD'): |
65 |
- |