# Server-side
<reply>
<data>
-HTTP/1.0 200 OK
+HTTP/1.0 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
# Server-side
<reply>
<data>
-HTTP/1.1 301 This is a weirdo text message
+HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: data/110002.txt?coolsite=yes
</data>
<data2>
-HTTP/1.1 200 Followed here fine
+HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
</data2>
<datacheck>
-HTTP/1.1 301 This is a weirdo text message
+HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: data/110002.txt?coolsite=yes
Connection: close
-HTTP/1.1 200 Followed here fine
+HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
<reply>
<data>
HTTP/1.1 200 Read you
+Content-Length: 29\r
Deleted: suppose we got a header like this! ;-)
blabla custom request result
-
</data>
</reply>
Fake: yes\r
Fake: yes\r
Fake: yes\r
+Content-Length: 26\r
\r
Repeated nonsense-headers
</data>
Fake: yes\r
Fake: yes\r
Fake: yes\r
+Content-Length: 26\r
\r
Repeated nonsense-headers
http://127.0.0.1:8999/want/15 200 26
Server: test-server/fake\r
Content-Type: text/html\r
Funny-head: yesyes\r
+Content-Length: 22\r
\r
the content goes here
</data>
<data>
HTTP/1.1 200 OK
Funny-head: yesyes
+Content-Length: 27\r
This is the proof it works
</data>
<data nocheck=1>
HTTP/1.1 200 OK
Funny-head: yesyes
+Content-Length: 4\r
moo
</data>
<data2>
HTTP/1.1 200 OK
Funny-head: yesyes
+Content-Length: 4\r
foo
</data2>
<data3>
HTTP/1.1 200 OK
Funny-head: yesyes
+Content-Length: 4\r
hoo
</data3>
--_curl_--127.0.0.1:8999/18
HTTP/1.1 200 OK
Funny-head: yesyes
+Content-Length: 4\r
moo
--_curl_--127.0.0.1:8999/180002
HTTP/1.1 200 OK
Funny-head: yesyes
+Content-Length: 4\r
foo
--_curl_--127.0.0.1:8999/180003
HTTP/1.1 200 OK
Funny-head: yesyes
+Content-Length: 4\r
hoo
</stdout>
<data>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
+Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
<data>
HTTP/1.1 200 OK
Funny-head: yesyes
+Content-Length: 27\r
This is the proof it works
</data>
# Server-side
<reply>
<data>
-HTTP/1.1 200 Mooo
+HTTP/1.1 200 Mooo swsclose
Server: test-server/fake
Connection: close
# Server-side
<reply>
<data>
-HTTP/1.1 200 Mooo
+HTTP/1.1 200 Mooo swsclose
Connection: close
Set-Cookie: path=/; thewinneris=nowayyouwin;
# Server-side
<reply>
<data>
-HTTP/1.1 301 This is a weirdo text message
+HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE
</data>
<data2>
-HTTP/1.1 200 Followed here fine
+HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
</data2>
<datacheck>
-HTTP/1.1 301 This is a weirdo text message
+HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE
Connection: close
-HTTP/1.1 200 Followed here fine
+HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
HTTPS GET with user and password
</name>
<command>
--k -u fake:user https://%HOSTIP:%HTTPSPORT/2
+-k -u fake:user https://%HOSTIP:%HTTPSPORT/301
</command>
</test>
^User-Agent:.*
</strip>
<protocol>
-GET /2 HTTP/1.1\r
+GET /301 HTTP/1.1\r
Authorization: Basic ZmFrZTp1c2Vy\r
Host: 127.0.0.1:8433\r
Pragma: no-cache\r
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
+Content-Length: 10\r
blablabla
-
</data>
</reply>
# Server-side
<reply>
<data>
-No headers at all, just data
+No headers at all, just data swsclose
Let's get
HTTP/1.1 200 OK\r
Date: Thu, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
+Content-Length: 4\r
Content-Type: text/html\r
Funny-head: yesyes\r
Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure\r
# Server-side
<reply>
<data>
+HTTP/1.1 OK swsclose
</data>
</reply>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
+Content-Length: 10\r
blablabla
-
</data>
</reply>
<data>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
+Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
# Server-side
<reply>
<data>
-HTTP/1.1 302 OK\r
+HTTP/1.1 302 OK swsclose\r
Location: ../moo.html/?name=d a niel&testcase=/400002 \r
Date: Thu, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
</data>
<data2>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
body
</data2>
<datacheck>
-HTTP/1.1 302 OK\r
+HTTP/1.1 302 OK swsclose\r
Location: ../moo.html/?name=d a niel&testcase=/400002 \r
Date: Thu, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
# Server-side
<reply>
<data>
-HTTP/1.1 302 OK\r
+HTTP/1.1 302 OK swsclose\r
Location: ../m o o.html/420002 \r
Date: Thu, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
</data>
<data2>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
body
</data2>
<datacheck>
-HTTP/1.1 302 OK\r
+HTTP/1.1 302 OK swsclose\r
Location: ../m o o.html/420002 \r
Date: Thu, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
HTTP/1.1 301 This is a weirdo text message
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/110002.txt?coolsite=yes
+Location: data/430002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following
</data>
<data2>
-HTTP/1.1 200 Followed here fine
+HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
HTTP/1.1 301 This is a weirdo text message
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/110002.txt?coolsite=yes
+Location: data/430002.txt?coolsite=yes
Connection: close
-HTTP/1.1 200 Followed here fine
+HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
HTTP Location: following over HTTP proxy
</name>
<command>
-http://%HOSTIP:%HOSTPORT/want/11 -L -x %HOSTIP:%HOSTPORT
+http://%HOSTIP:%HOSTPORT/want/43 -L -x %HOSTIP:%HOSTPORT
</command>
</test>
^User-Agent:.*
</strip>
<protocol>
-GET http://127.0.0.1:8999/want/11 HTTP/1.1\r
+GET http://127.0.0.1:8999/want/43 HTTP/1.1\r
Host: 127.0.0.1:8999\r
Pragma: no-cache\r
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
\r
-GET http://127.0.0.1:8999/want/data/110002.txt?coolsite=yes HTTP/1.1\r
+GET http://127.0.0.1:8999/want/data/430002.txt?coolsite=yes HTTP/1.1\r
Host: 127.0.0.1:8999\r
Pragma: no-cache\r
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
# Server-side
<reply>
<data>
-HTTP/1.1 301 This is a weirdo text message
+HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data.cgi?moo=http://&/110002
+Location: data.cgi?moo=http://&/450002
Connection: close
This server reply is for testing a simple Location: following
</data>
<data2>
-HTTP/1.1 200 Followed here fine
+HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
</data2>
<datacheck>
-HTTP/1.1 301 This is a weirdo text message
+HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data.cgi?moo=http://&/110002
+Location: data.cgi?moo=http://&/450002
Connection: close
-HTTP/1.1 200 Followed here fine
+HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Pragma: no-cache\r
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
\r
-GET /want/data.cgi?moo=http://&/110002 HTTP/1.1\r
+GET /want/data.cgi?moo=http://&/450002 HTTP/1.1\r
Host: 127.0.0.1:8999\r
Pragma: no-cache\r
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
Set-Cookie: ckySession=temporary; path=/
Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
Cache-control: private
+Content-Length: 62\r
This server reply is for testing a simple Location: following
-
</data>
</reply>
# Server-side
<reply name="47">
<data>
-HTTP/1.0 200 OK
+HTTP/1.0 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
# Server-side
<reply>
<data>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: ../moo.html/490002
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
</data>
<data2>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
body
</data2>
<datacheck>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: ../moo.html/490002
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
<data>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
+Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
# Server-side
<reply>
<data>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: ../../moo.html/500002
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
</data>
<data2>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
body
</data2>
<datacheck>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: ../../moo.html/500002
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
<reply>
<data>
foo
- bar
+ bar swsclose
bar
foo
moo
</command>
<file name="log/test502.txt">
foo
- bar
+ bar swsclose
bar
foo
moo
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
<command>
http://%HOSTIP:%HTTPSPORT/503 localhost:%HOSTPORT
</command>
-<file name="log/test502.txt">
+<file name="log/test503.txt">
foo
bar
bar
# Server-side
<reply>
<data>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: ../../../../../../../510002
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
</data>
<data2>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
body
</data2>
<datacheck>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: ../../../../../../../510002
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
# Server-side
<reply>
<data>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: ./520002
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
</data>
<data2>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
body
</data2>
<datacheck>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: ./520002
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
Date: Tue, 25 Sep 2001 19:37:44 GMT
Content-Type: text/html
Connection: close
+Content-Length: 21\r
This server says moo
</data>
# Server-side
<reply>
<data>
-HTTP/1.1 302 This is a weirdo text message
+HTTP/1.1 302 This is a weirdo text message swsclose
Connection: close
Location:
<reply>
<data>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: 550002
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
</data>
<data2>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
body
</data2>
<datacheck>
-HTTP/1.1 302 OK
+HTTP/1.1 302 OK swsclose
Location: 550002
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Funny-head: yesyes
This is the proof it works
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Funny-head: yesyes
Content-Type: text/html; charset=ISO-8859-4
# Server-side
<reply>
<data>
-HTTP/1.0 200 OK
+HTTP/1.0 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
# Server-side
<reply name="1">
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
+swsclose: booo
</data>
</reply>
# Server-side
<reply>
<data>
-HTTP/1.0 200 OK
+HTTP/1.0 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure\r
Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure\r
Set-Cookie: test5=name; domain=anything.com; path=/ ; secure\r
+Content-Length: 4\r
\r
boo
</data>
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK\r
+HTTP/1.1 200 OK swsclose\r
Date: Thu, 09 Nov 2010 14:49:00 GMT\r
Content-Type: text/html\r
\r
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK\r
+HTTP/1.1 200 OK swsclose\r
Date: Thu, 09 Nov 2010 14:49:00 GMT\r
Content-Type: text/html\r
\r
# Server-side
<reply>
<data>
-HTTP/1.1 401 Authorization Required\r
+HTTP/1.1 401 Authorization Required swsclose\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"\r
Content-Type: text/html; charset=iso-8859-1\r
# This is supposed to be returned when the server gets a
# Authorization: Digest line passed-in from the client
<data1000>
-HTTP/1.1 200 OK\r
+HTTP/1.1 200 OK swsclose\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
Content-Type: text/html; charset=iso-8859-1\r
\r
</data1000>
<datacheck>
-HTTP/1.1 401 Authorization Required\r
+HTTP/1.1 401 Authorization Required swsclose\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"\r
Content-Type: text/html; charset=iso-8859-1\r
\r
-HTTP/1.1 200 OK\r
+HTTP/1.1 200 OK swsclose\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
Content-Type: text/html; charset=iso-8859-1\r
\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
WWW-Authenticate: Digest realm="testrealm", nonce="2053604145"\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 26\r
\r
This is not the real page
</data>
HTTP/1.1 401 Still a bad password you moron\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 34\r
\r
This is not the real page either\r
</data1000>
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
WWW-Authenticate: Digest realm="testrealm", nonce="2053604145"\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 26\r
\r
HTTP/1.1 401 Still a bad password you moron\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 34\r
\r
This is not the real page either\r
</datacheck>
# Server-side
<reply>
<data>
-no headers
+no headers swsclose
</data>
</reply>
HTTP/1.1 401 Now gimme that second request of crap\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 34\r
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==\r
\r
This is not the real page either!
# This is supposed to be returned when the server gets the second
# Authorization: NTLM line passed-in from the client
<data1002>
-HTTP/1.1 200 Things are fine in server land\r
+HTTP/1.1 200 Things are fine in server land swsclose\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
\r
HTTP/1.1 401 Now gimme that second request of crap\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 34\r
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==\r
\r
-HTTP/1.1 200 Things are fine in server land\r
+HTTP/1.1 200 Things are fine in server land swsclose\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
\r
<data1001>
HTTP/1.1 401 Now gimme that second request of crap\r
Server: Microsoft-IIS/5.0\r
+Content-Length: 34\r
Content-Type: text/html; charset=iso-8859-1\r
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==\r
\r
HTTP/1.1 401 You give me wrong password\r
Server: Microsoft-IIS/5.0\r
WWW-Authenticate: NTLM\r
+Content-Length: 46\r
Content-Type: text/html; charset=iso-8859-1\r
\r
Wrong password dude. Get it fixed and return.
<datacheck>
HTTP/1.1 401 Now gimme that second request of crap\r
Server: Microsoft-IIS/5.0\r
+Content-Length: 34\r
Content-Type: text/html; charset=iso-8859-1\r
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==\r
\r
HTTP/1.1 401 You give me wrong password\r
Server: Microsoft-IIS/5.0\r
WWW-Authenticate: NTLM\r
+Content-Length: 46\r
Content-Type: text/html; charset=iso-8859-1\r
\r
Wrong password dude. Get it fixed and return.
# Server-side
<reply>
<data>
-HTTP/1.1 401 Authorization Required\r
+HTTP/1.1 401 Authorization Required swsclose\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
WWW-Authenticate: Basic\r
WWW-Authenticate: Wild-and-crazy\r
<data1001>
HTTP/1.1 401 Now gimme that second request of crap\r
Server: Microsoft-IIS/5.0\r
+Content-Length: 34\r
Content-Type: text/html; charset=iso-8859-1\r
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==\r
\r
# This is supposed to be returned when the server gets the second
# Authorization: NTLM line passed-in from the client
<data1002>
-HTTP/1.1 200 Things are fine in server land\r
+HTTP/1.1 200 Things are fine in server land swsclose\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
\r
</data1002>
<datacheck>
-HTTP/1.1 401 Authorization Required\r
+HTTP/1.1 401 Authorization Required swsclose\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
WWW-Authenticate: Basic\r
WWW-Authenticate: Wild-and-crazy\r
\r
HTTP/1.1 401 Now gimme that second request of crap\r
Server: Microsoft-IIS/5.0\r
+Content-Length: 34\r
Content-Type: text/html; charset=iso-8859-1\r
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==\r
\r
-HTTP/1.1 200 Things are fine in server land\r
+HTTP/1.1 200 Things are fine in server land swsclose\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
\r
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
-Funny-head: yesyes
+Funny-head: yesyes swsclose
Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
-Funny-head: yesyes
+Funny-head: yesyes swsclose
Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"\r
WWW-Authenticate: NTLM\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 26\r
\r
This is not the real page
</data>
HTTP/1.1 200 OK\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 23\r
\r
This IS the real page!
</data1000>
WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"\r
WWW-Authenticate: NTLM\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 26\r
\r
HTTP/1.1 200 OK\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
Content-Type: text/html; charset=iso-8859-1\r
+Content-Length: 23\r
\r
This IS the real page!
</datacheck>
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
# Server-side
<reply>
<data>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake