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 e5389eb commit f3e106cCopy full SHA for f3e106c
python-ecosys/requests/requests/__init__.py
@@ -93,7 +93,7 @@ def request(
93
context = tls.SSLContext(tls.PROTOCOL_TLS_CLIENT)
94
context.verify_mode = tls.CERT_NONE
95
s = context.wrap_socket(s, server_hostname=host)
96
- s.write(b"%s /%s HTTP/1.0\r\n" % (method, path))
+ s.write(b"%s /%s HTTP/1.1\r\n" % (method, path))
97
if "Host" not in headers:
98
s.write(b"Host: %s\r\n" % host)
99
# Iterate over keys to avoid tuple alloc
0 commit comments