mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
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.
This commit is contained in:
parent
3f06b423c4
commit
d31915a8db
@ -17,6 +17,7 @@ NTLM
|
||||
<connect1001>
|
||||
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!
|
||||
<datacheck>
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user