Commit 156a365a authored by Philipp Hörist's avatar Philipp Hörist
Browse files

cfix: HTTP: Don’t special handle contet-length of zero

parent 8fc874b6
......@@ -419,13 +419,6 @@ class HTTPRequest(GObject.GObject):
self.cancel()
return
self._response_content_length = headers.get_content_length()
if self._response_content_length == 0:
self._log.warning('No content-length in response')
self._no_content_length_set = True
self.cancel()
return
self._response_content_type = content_type
self._log.info('Sniffed: content-type: %s, content-length: %s',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment