mod_python handler does not set inbound content-type correctly
|Reported by:||Nowell Strite||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The mod_python handler does not set the inbound content-type properly (request.META['Content-Type']) instead setting it to None. This is problematic for things such as RESTful services, where we might want to specify the inbound payload content-type (application/json, text/xml, etc.). This patch retrieves the content-type properly; in the same way a previous ticket does http://code.djangoproject.com/ticket/5611 for a different portion request parsing.