From: Daniel Stenberg Date: Thu, 8 Dec 2022 15:47:43 +0000 (+0100) Subject: test265: Use "connection: keep-alive" response header X-Git-Tag: curl-7_87_0~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d31915a8dbbd;p=thirdparty%2Fcurl.git test265: Use "connection: keep-alive" response header When it answers as HTTP/1.0, so that clients (hyper) knows properly that the connection remains intact. --- diff --git a/tests/data/test265 b/tests/data/test265 index c6db8964ee..fd0a09717f 100644 --- a/tests/data/test265 +++ b/tests/data/test265 @@ -17,6 +17,7 @@ NTLM HTTP/1.0 407 Authorization Required to proxy me my dear Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== +Connection: Keep-Alive Content-Length: 1033 And you should ignore this data. @@ -55,6 +56,7 @@ Nice proxy auth sir! HTTP/1.0 407 Authorization Required to proxy me my dear Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== +Connection: Keep-Alive Content-Length: 1033 HTTP/1.1 200 Things are fine in proxy land