#9054: request.raw_post_data is empty for multipart/related posts
---------------------------+------------------------------------------------
Reporter: gruffudd | Owner: nobody
Status: new | Milestone:
Component: HTTP handling | Version: 1.0
Keywords: multipart | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
core/handlers/wsgi.py : request.raw_post_data is set to empty string if
the request self.environ.get('CONTENT_TYPE', '').startswith('multipart').
This is probably ok for multipart/form-data (file upload), but I don't
think it is correct for all multipart subtypes, specifically
multipart/related, in which message parts should not be considered
individually but rather as parts of an aggregate whole :
http://en.wikipedia.org/wiki/MIME#Related
request.raw_post_data was set correctly in 0.97 but not in 1.0.
A specific example is posting a SOAP/ebXML multipart/related message.
--
Ticket URL: <http://code.djangoproject.com/ticket/9054>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---