Ticket #11660: mod_python_content_type_bug.patch
File mod_python_content_type_bug.patch, 1.1 KB (added by , 15 years ago) |
---|
-
AUTHORS
401 401 Vasiliy Stavenko <stavenko@gmail.com> 402 402 Thomas Steinacher <http://www.eggdrop.ch/> 403 403 Johan C. Stöver <johan@nilling.nl> 404 nowell strite404 Nowell Strite <http://nowell.strite.org> 405 405 Thomas Stromberg <tstromberg@google.com> 406 406 Pascal Varet 407 407 SuperJared -
django/core/handlers/modpython.py
135 135 self._meta = { 136 136 'AUTH_TYPE': self._req.ap_auth_type, 137 137 'CONTENT_LENGTH': self._req.clength, # This may be wrong 138 'CONTENT_TYPE': self._req. content_type, # This may be wrong138 'CONTENT_TYPE': self._req.headers_in.get('Content-Type'), 139 139 'GATEWAY_INTERFACE': 'CGI/1.1', 140 140 'PATH_INFO': self.path_info, 141 141 'PATH_TRANSLATED': None, # Not supported