Skip to content

Commit f3e106c

Browse files
authored
HTTP/1.0 to HTTP/1.1
1 parent e5389eb commit f3e106c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-ecosys/requests/requests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def request(
9393
context = tls.SSLContext(tls.PROTOCOL_TLS_CLIENT)
9494
context.verify_mode = tls.CERT_NONE
9595
s = context.wrap_socket(s, server_hostname=host)
96-
s.write(b"%s /%s HTTP/1.0\r\n" % (method, path))
96+
s.write(b"%s /%s HTTP/1.1\r\n" % (method, path))
9797
if "Host" not in headers:
9898
s.write(b"Host: %s\r\n" % host)
9999
# Iterate over keys to avoid tuple alloc

0 commit comments

Comments
 (0)