Ticket #1641: wsgi_handler_fix_r2714.diff
File wsgi_handler_fix_r2714.diff, 678 bytes (added by , 19 years ago) |
---|
-
wsgi.py
=== wsgi.py ==================================================================
63 63 pformat(self.META)) 64 64 65 65 def get_full_path(self): 66 return '%s%s' % (self.path, self.environ ['QUERY_STRING'] and ('?' + self.environ['QUERY_STRING']) or '')66 return '%s%s' % (self.path, self.environ.get('QUERY_STRING', '') and ('?' + self.environ.get('QUERY_STRING', '')) or '') 67 67 68 68 def _load_post_and_files(self): 69 69 # Populates self._post and self._files