equal
deleted
inserted
replaced
236 self._do_process_multipart = False |
236 self._do_process_multipart = False |
237 if self.method == "POST" and ctype: |
237 if self.method == "POST" and ctype: |
238 key, pdict = parse_header(ctype) |
238 key, pdict = parse_header(ctype) |
239 if key == 'application/x-www-form-urlencoded': |
239 if key == 'application/x-www-form-urlencoded': |
240 self.args.update(http.parse_qs(self.content.read(), 1)) |
240 self.args.update(http.parse_qs(self.content.read(), 1)) |
|
241 self.content.seek(0) |
241 elif key == 'multipart/form-data': |
242 elif key == 'multipart/form-data': |
242 # defer this as it can be extremely time consumming |
243 # defer this as it can be extremely time consumming |
243 # with big files |
244 # with big files |
244 self._do_process_multipart = True |
245 self._do_process_multipart = True |
245 self.process() |
246 self.process() |