Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 793a8ad commit 12870e6Copy full SHA for 12870e6
1 file changed
lib/core/option.py
@@ -1200,7 +1200,7 @@ def _setHTTPExtraHeaders():
1200
conf.headers = conf.headers.split("\n") if "\n" in conf.headers else conf.headers.split("\\n")
1201
1202
for headerValue in conf.headers:
1203
- if headerValue.count(':') > 1:
+ if headerValue.count(':') >= 1:
1204
header, value = (_.lstrip() for _ in headerValue.split(":", 1))
1205
1206
if header and value:
0 commit comments