Ticket #9054: wsgi.py.diff
File wsgi.py.diff, 684 bytes (added by , 16 years ago) |
---|
-
wsgi.py
129 129 def _load_post_and_files(self): 130 130 # Populates self._post and self._files 131 131 if self.method == 'POST': 132 if self.environ.get('CONTENT_TYPE', '').startswith('multipart') :132 if self.environ.get('CONTENT_TYPE', '').startswith('multipart') and not self.environ.get('CONTENT_TYPE', '').startswith('multipart/related'): 133 133 self._raw_post_data = '' 134 134 try: 135 135 self._post, self._files = self.parse_file_upload(self.META, self.environ['wsgi.input'])