]> granicus.if.org Git - curl/commitdiff
make the first response get a "connection: close" header as that is how
authorDaniel Stenberg <daniel@haxx.se>
Tue, 20 Apr 2004 07:36:09 +0000 (07:36 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Apr 2004 07:36:09 +0000 (07:36 +0000)
most 1.1 connections will be closed. The case where it gets closed anyway
is subject for a new separate test.

tests/data/test91

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