remove connection close header

This commit is contained in:
Jack Robison 2018-10-19 11:25:43 -04:00
parent c5265f053e
commit 4a4dc7ee81
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -28,7 +28,7 @@ def serialize_scpd_get(path: str, address: str) -> bytes:
'GET %s HTTP/1.1\r\n' 'GET %s HTTP/1.1\r\n'
'Accept-Encoding: gzip\r\n' 'Accept-Encoding: gzip\r\n'
'Host: %s\r\n' 'Host: %s\r\n'
'Connection: Close\r\n' # 'Connection: Close\r\n'
'\r\n' '\r\n'
) % (path, host) ) % (path, host)
).encode() ).encode()