Ticket #11660: mod_python_meta_bugs.patch
File mod_python_meta_bugs.patch, 1.6 KB (added by , 15 years ago) |
---|
-
AUTHORS
194 194 Ian Holsman <http://feh.holsman.net/> 195 195 Kieran Holland <http://www.kieranholland.com> 196 196 Sung-Jin Hong <serialx.net@gmail.com> 197 Tareque Hossain <http://www.codexn.com> 197 198 Richard House <Richard.House@i-logue.com> 198 199 Robert Rock Howard <http://djangomojo.com/> 199 200 John Huddleston <huddlej@wwu.edu> … … 387 388 Vasiliy Stavenko <stavenko@gmail.com> 388 389 Thomas Steinacher <http://www.eggdrop.ch/> 389 390 Johan C. Stöver <johan@nilling.nl> 390 nowell strite391 Nowell Strite <http://nowell.strite.org/> 391 392 Thomas Stromberg <tstromberg@google.com> 392 393 Pascal Varet 393 394 SuperJared -
django/core/handlers/modpython.py
134 134 if not hasattr(self, '_meta'): 135 135 self._meta = { 136 136 'AUTH_TYPE': self._req.ap_auth_type, 137 'CONTENT_LENGTH': self._req. clength, # This may be wrong138 'CONTENT_TYPE': self._req. content_type, # This may be wrong137 'CONTENT_LENGTH': self._req.headers_in.get('content-length', 0), 138 '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