Skip to content

Commit

Permalink
Use request.META for Django.
Browse files Browse the repository at this point in the history
Fixes #85.
  • Loading branch information
ngnpope committed Jan 12, 2022
1 parent 989ae6a commit f104e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soapfish/django_.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def django_dispatcher(service, **dispatcher_kwargs):
from django.views.decorators.csrf import csrf_exempt

def django_dispatch(request):
soap_request = SOAPRequest(DjangoEnvironWrapper(request.environ), request.body)
soap_request = SOAPRequest(DjangoEnvironWrapper(request.META), request.body)
soap_request._original_request = request
soap_dispatcher = SOAPDispatcher(service, **dispatcher_kwargs)
soap_response = soap_dispatcher.dispatch(soap_request)
Expand Down

0 comments on commit f104e2c

Please sign in to comment.