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
156a365a
Commit
156a365a
authored
Jan 01, 2023
by
Philipp Hörist
Browse files
cfix: HTTP: Don’t special handle contet-length of zero
parent
8fc874b6
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nbxmpp/http.py
View file @
156a365a
...
...
@@ -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'
,
...
...
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