Ticket #14594: 14594.diff
File 14594.diff, 724 bytes (added by , 14 years ago) |
---|
-
django/http/__init__.py
148 148 # specs, but see ticket #8259), so we handle TypeError as well. 149 149 content_length = 0 150 150 if content_length: 151 self._raw_post_data = self.read(content_length) 152 else: 151 153 self._raw_post_data = self.read() 152 else:153 self._raw_post_data = self.read(int(content_length))154 154 self._stream = StringIO(self._raw_post_data) 155 155 return self._raw_post_data 156 156 raw_post_data = property(_get_raw_post_data)