1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

make the first response get a "connection: close" header as that is how

most 1.1 connections will be closed. The case where it gets closed anyway
is subject for a new separate test.
This commit is contained in:
Daniel Stenberg 2004-04-20 07:36:09 +00:00
parent 6f8b4395ec
commit 760cecac8d

View File

@ -8,6 +8,7 @@ WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="daniel" WWW-Authenticate: Basic realm="daniel"
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 0 Content-Length: 0
Connection: close
</data> </data>
@ -41,6 +42,7 @@ WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="daniel" WWW-Authenticate: Basic realm="daniel"
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 0 Content-Length: 0
Connection: close
HTTP/1.1 401 Now gimme that second request of crap HTTP/1.1 401 Now gimme that second request of crap
Server: Microsoft-IIS/5.0 Server: Microsoft-IIS/5.0