request.raw_post_data is empty for multipart/related posts
|Reported by:||gruffudd||Owned by:||senko|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||yes|
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.
Change History (16)
Changed 7 years ago by gruffudd
comment:1 Changed 7 years ago by gruffudd
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
Changed 7 years ago by chris chamberlin
comment:12 Changed 2 years ago by senko
- Owner changed from nobody to senko
- Status changed from new to assigned