mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:31:41 +03: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue