From 4a4dc7ee8140a4b244de4556b34ca14e05ba8a2c Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Fri, 19 Oct 2018 11:25:43 -0400 Subject: [PATCH] remove connection close header --- aioupnp/serialization/scpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aioupnp/serialization/scpd.py b/aioupnp/serialization/scpd.py index ae37115..2dc1a88 100644 --- a/aioupnp/serialization/scpd.py +++ b/aioupnp/serialization/scpd.py @@ -28,7 +28,7 @@ def serialize_scpd_get(path: str, address: str) -> bytes: 'GET %s HTTP/1.1\r\n' 'Accept-Encoding: gzip\r\n' 'Host: %s\r\n' - 'Connection: Close\r\n' + # 'Connection: Close\r\n' '\r\n' ) % (path, host) ).encode()