Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
python-nbxmpp
Commits
c3b9bd4e
Commit
c3b9bd4e
authored
Jan 01, 2023
by
Philipp Hörist
Browse files
cfix: HTTP: Store lost content-length again
parent
1dbc2ed4
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nbxmpp/http.py
View file @
c3b9bd4e
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment