Ticket #3619: chunked.patch
File chunked.patch, 709 bytes (added by , 18 years ago) |
---|
-
http/__init__.py
164 164 self._container = content 165 165 self._is_string = False 166 166 else: 167 self._container = [content] 167 if content != '': 168 self._container = [content] 169 else: 170 # If the first string in _container is '', it screws things up 171 # under Transfer-Encoding: chunked 172 self._container = [] 168 173 self._is_string = True 169 174 self.headers = {'Content-Type': mimetype} 170 175 self.cookies = SimpleCookie()