]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test265: Use "connection: keep-alive" response header
authorDaniel Stenberg <daniel@haxx.se>
Thu, 8 Dec 2022 15:47:43 +0000 (16:47 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 Dec 2022 15:47:43 +0000 (16:47 +0100)
When it answers as HTTP/1.0, so that clients (hyper) knows properly that
the connection remains intact.

tests/data/test265

index c6db8964eee01e4ff1981856e173d435d1118dda..fd0a09717f92d4c4e624348198809e26103e53b2 100644 (file)
@@ -17,6 +17,7 @@ NTLM
 <connect1001>
 HTTP/1.0 407 Authorization Required to proxy me my dear\r
 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==\r
+Connection: Keep-Alive\r
 Content-Length: 1033\r
 \r
 And you should ignore this data.
@@ -55,6 +56,7 @@ Nice proxy auth sir!
 <datacheck>
 HTTP/1.0 407 Authorization Required to proxy me my dear\r
 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==\r
+Connection: Keep-Alive\r
 Content-Length: 1033\r
 \r
 HTTP/1.1 200 Things are fine in proxy land\r