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

cfix: HTTP: Store lost content-length again

parent 1dbc2ed4
......@@ -419,6 +419,8 @@ class HTTPRequest(GObject.GObject):
self.cancel()
return
self._response_content_length = headers.get_content_length()
if content_type is None:
# According to the docs, content_type is None when the sniffer
# decides to trust the content-type sent by the server.
......
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