Ticket #13756: tomcat_fileupload.diff
File tomcat_fileupload.diff, 562 bytes (added by , 14 years ago) |
---|
-
django/http/multipartparser.py
401 401 num_bytes = self.remaining 402 402 else: 403 403 num_bytes = min(num_bytes, self.remaining) 404 self.remaining -= num_bytes 405 return self._file.read(num_bytes) 404 buf = self._file.read(num_bytes) 405 self.remaining -= len(buf) 406 return buf 406 407 407 408 class InterBoundaryIter(object): 408 409 """