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

modified to work fine with the new persistant connection working test suite

HTTP server
This commit is contained in:
Daniel Stenberg 2003-07-19 23:57:08 +00:00
parent bc0fd6db71
commit c50a601f1a
56 changed files with 126 additions and 94 deletions

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.0 200 OK HTTP/1.0 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Location: data/110002.txt?coolsite=yes Location: data/110002.txt?coolsite=yes
@ -11,7 +11,7 @@ This server reply is for testing a simple Location: following
</data> </data>
<data2> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
@ -19,13 +19,13 @@ If this is received, the location following worked
</data2> </data2>
<datacheck> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Location: data/110002.txt?coolsite=yes Location: data/110002.txt?coolsite=yes
Connection: close 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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake

View File

@ -2,10 +2,10 @@
<reply> <reply>
<data> <data>
HTTP/1.1 200 Read you HTTP/1.1 200 Read you
Content-Length: 29
Deleted: suppose we got a header like this! ;-) Deleted: suppose we got a header like this! ;-)
blabla custom request result blabla custom request result
</data> </data>
</reply> </reply>

View File

@ -5,6 +5,7 @@ HTTP/1.4 200 OK
Fake: yes Fake: yes
Fake: yes Fake: yes
Fake: yes Fake: yes
Content-Length: 26
Repeated nonsense-headers Repeated nonsense-headers
</data> </data>
@ -30,6 +31,7 @@ HTTP/1.4 200 OK
Fake: yes Fake: yes
Fake: yes Fake: yes
Fake: yes Fake: yes
Content-Length: 26
Repeated nonsense-headers Repeated nonsense-headers
http://127.0.0.1:8999/want/15 200 26 http://127.0.0.1:8999/want/15 200 26

View File

@ -6,6 +6,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Type: text/html Content-Type: text/html
Funny-head: yesyes Funny-head: yesyes
Content-Length: 22
the content goes here the content goes here
</data> </data>

View File

@ -3,6 +3,7 @@
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK
Funny-head: yesyes Funny-head: yesyes
Content-Length: 27
This is the proof it works This is the proof it works
</data> </data>

View File

@ -3,18 +3,21 @@
<data nocheck=1> <data nocheck=1>
HTTP/1.1 200 OK HTTP/1.1 200 OK
Funny-head: yesyes Funny-head: yesyes
Content-Length: 4
moo moo
</data> </data>
<data2> <data2>
HTTP/1.1 200 OK HTTP/1.1 200 OK
Funny-head: yesyes Funny-head: yesyes
Content-Length: 4
foo foo
</data2> </data2>
<data3> <data3>
HTTP/1.1 200 OK HTTP/1.1 200 OK
Funny-head: yesyes Funny-head: yesyes
Content-Length: 4
hoo hoo
</data3> </data3>
@ -62,16 +65,19 @@ Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
--_curl_--127.0.0.1:8999/18 --_curl_--127.0.0.1:8999/18
HTTP/1.1 200 OK HTTP/1.1 200 OK
Funny-head: yesyes Funny-head: yesyes
Content-Length: 4
moo moo
--_curl_--127.0.0.1:8999/180002 --_curl_--127.0.0.1:8999/180002
HTTP/1.1 200 OK HTTP/1.1 200 OK
Funny-head: yesyes Funny-head: yesyes
Content-Length: 4
foo foo
--_curl_--127.0.0.1:8999/180003 --_curl_--127.0.0.1:8999/180003
HTTP/1.1 200 OK HTTP/1.1 200 OK
Funny-head: yesyes Funny-head: yesyes
Content-Length: 4
hoo hoo
</stdout> </stdout>

View File

@ -4,7 +4,7 @@
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake swsclose
Content-Type: text/html Content-Type: text/html
Funny-head: yesyes Funny-head: yesyes

View File

@ -3,6 +3,7 @@
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK
Funny-head: yesyes Funny-head: yesyes
Content-Length: 27
This is the proof it works This is the proof it works
</data> </data>

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 Mooo HTTP/1.1 200 Mooo swsclose
Server: test-server/fake Server: test-server/fake
Connection: close Connection: close

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 Mooo HTTP/1.1 200 Mooo swsclose
Connection: close Connection: close
Set-Cookie: path=/; thewinneris=nowayyouwin; Set-Cookie: path=/; thewinneris=nowayyouwin;

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Location: /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE Location: /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE
@ -11,7 +11,7 @@ This server reply is for testing a simple Location: following
</data> </data>
<data2> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
@ -19,13 +19,13 @@ If this is received, the location following worked
</data2> </data2>
<datacheck> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Location: /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE Location: /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE
Connection: close 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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close

View File

@ -2,7 +2,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Type: text/html Content-Type: text/html
@ -21,7 +21,7 @@ https
HTTPS GET with user and password HTTPS GET with user and password
</name> </name>
<command> <command>
-k -u fake:user https://%HOSTIP:%HTTPSPORT/2 -k -u fake:user https://%HOSTIP:%HTTPSPORT/301
</command> </command>
</test> </test>
@ -32,7 +32,7 @@ HTTPS GET with user and password
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
GET /2 HTTP/1.1 GET /301 HTTP/1.1
Authorization: Basic ZmFrZTp1c2Vy Authorization: Basic ZmFrZTp1c2Vy
Host: 127.0.0.1:8433 Host: 127.0.0.1:8433
Pragma: no-cache Pragma: no-cache

View File

@ -4,9 +4,9 @@
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 10
blablabla blablabla
</data> </data>
</reply> </reply>

View File

@ -2,7 +2,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
No headers at all, just data No headers at all, just data swsclose
Let's get Let's get

View File

@ -4,6 +4,7 @@
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 4
Content-Type: text/html Content-Type: text/html
Funny-head: yesyes Funny-head: yesyes
Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure

View File

@ -1,6 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 OK swsclose
</data> </data>
</reply> </reply>

View File

@ -4,9 +4,9 @@
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 10
blablabla blablabla
</data> </data>
</reply> </reply>

View File

@ -4,7 +4,7 @@
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake swsclose
Content-Type: text/html Content-Type: text/html
Funny-head: yesyes Funny-head: yesyes

View File

@ -2,14 +2,14 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../moo.html/?name=d a niel&testcase=/400002 Location: ../moo.html/?name=d a niel&testcase=/400002
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
</data> </data>
<data2> <data2>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
@ -17,12 +17,12 @@ Connection: close
body body
</data2> </data2>
<datacheck> <datacheck>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../moo.html/?name=d a niel&testcase=/400002 Location: ../moo.html/?name=d a niel&testcase=/400002
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close

View File

@ -2,14 +2,14 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../m o o.html/420002 Location: ../m o o.html/420002
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
</data> </data>
<data2> <data2>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
@ -17,12 +17,12 @@ Connection: close
body body
</data2> </data2>
<datacheck> <datacheck>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../m o o.html/420002 Location: ../m o o.html/420002
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close

View File

@ -4,14 +4,14 @@
HTTP/1.1 301 This is a weirdo text message HTTP/1.1 301 This is a weirdo text message
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Location: data/110002.txt?coolsite=yes Location: data/430002.txt?coolsite=yes
Connection: close Connection: close
This server reply is for testing a simple Location: following This server reply is for testing a simple Location: following
</data> </data>
<data2> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
@ -22,10 +22,10 @@ If this is received, the location following worked
HTTP/1.1 301 This is a weirdo text message HTTP/1.1 301 This is a weirdo text message
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Location: data/110002.txt?coolsite=yes Location: data/430002.txt?coolsite=yes
Connection: close 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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
@ -43,7 +43,7 @@ http
HTTP Location: following over HTTP proxy HTTP Location: following over HTTP proxy
</name> </name>
<command> <command>
http://%HOSTIP:%HOSTPORT/want/11 -L -x %HOSTIP:%HOSTPORT http://%HOSTIP:%HOSTPORT/want/43 -L -x %HOSTIP:%HOSTPORT
</command> </command>
</test> </test>
@ -53,12 +53,12 @@ http://%HOSTIP:%HOSTPORT/want/11 -L -x %HOSTIP:%HOSTPORT
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
GET http://127.0.0.1:8999/want/11 HTTP/1.1 GET http://127.0.0.1:8999/want/43 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
GET http://127.0.0.1:8999/want/data/110002.txt?coolsite=yes HTTP/1.1 GET http://127.0.0.1:8999/want/data/430002.txt?coolsite=yes HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake

View File

@ -1,17 +1,17 @@
# Server-side # Server-side
<reply> <reply>
<data> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Location: data.cgi?moo=http://&/110002 Location: data.cgi?moo=http://&/450002
Connection: close Connection: close
This server reply is for testing a simple Location: following This server reply is for testing a simple Location: following
</data> </data>
<data2> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
@ -19,13 +19,13 @@ If this is received, the location following worked
</data2> </data2>
<datacheck> <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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Location: data.cgi?moo=http://&/110002 Location: data.cgi?moo=http://&/450002
Connection: close 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 Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
@ -58,7 +58,7 @@ Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
GET /want/data.cgi?moo=http://&/110002 HTTP/1.1 GET /want/data.cgi?moo=http://&/450002 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -9,9 +9,9 @@ Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-2010 05:00:00 GMT; path
Set-Cookie: ckySession=temporary; path=/ Set-Cookie: ckySession=temporary; path=/
Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/ Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
Cache-control: private Cache-control: private
Content-Length: 62
This server reply is for testing a simple Location: following This server reply is for testing a simple Location: following
</data> </data>
</reply> </reply>

View File

@ -2,7 +2,7 @@
# Server-side # Server-side
<reply name="47"> <reply name="47">
<data> <data>
HTTP/1.0 200 OK HTTP/1.0 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake

View File

@ -2,14 +2,14 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../moo.html/490002 Location: ../moo.html/490002
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
</data> </data>
<data2> <data2>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
@ -17,12 +17,12 @@ Connection: close
body body
</data2> </data2>
<datacheck> <datacheck>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../moo.html/490002 Location: ../moo.html/490002
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close

View File

@ -4,7 +4,7 @@
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake swsclose
Content-Type: text/html Content-Type: text/html
Funny-head: yesyes Funny-head: yesyes

View File

@ -2,14 +2,14 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../../moo.html/500002 Location: ../../moo.html/500002
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close
</data> </data>
<data2> <data2>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close
@ -17,12 +17,12 @@ Connection: close
body body
</data2> </data2>
<datacheck> <datacheck>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../../moo.html/500002 Location: ../../moo.html/500002
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close

View File

@ -3,7 +3,7 @@
<reply> <reply>
<data> <data>
foo foo
bar bar swsclose
bar bar
foo foo
moo moo
@ -28,7 +28,7 @@ file://%PWD/log/test502.txt
</command> </command>
<file name="log/test502.txt"> <file name="log/test502.txt">
foo foo
bar bar swsclose
bar bar
foo foo
moo moo

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
@ -26,7 +26,7 @@ simple multi https:// through proxy with authentication info
<command> <command>
http://%HOSTIP:%HTTPSPORT/503 localhost:%HOSTPORT http://%HOSTIP:%HTTPSPORT/503 localhost:%HOSTPORT
</command> </command>
<file name="log/test502.txt"> <file name="log/test503.txt">
foo foo
bar bar
bar bar

View File

@ -2,14 +2,14 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../../../../../../../510002 Location: ../../../../../../../510002
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close
</data> </data>
<data2> <data2>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close
@ -17,12 +17,12 @@ Connection: close
body body
</data2> </data2>
<datacheck> <datacheck>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ../../../../../../../510002 Location: ../../../../../../../510002
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close

View File

@ -2,14 +2,14 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ./520002 Location: ./520002
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
</data> </data>
<data2> <data2>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
@ -17,12 +17,12 @@ Connection: close
body body
</data2> </data2>
<datacheck> <datacheck>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: ./520002 Location: ./520002
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Location: this should be ignored Location: this should be ignored
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close Connection: close

View File

@ -6,6 +6,7 @@ Server: Microsoft-IIS/4.0
Date: Tue, 25 Sep 2001 19:37:44 GMT Date: Tue, 25 Sep 2001 19:37:44 GMT
Content-Type: text/html Content-Type: text/html
Connection: close Connection: close
Content-Length: 21
This server says moo This server says moo
</data> </data>

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 302 This is a weirdo text message HTTP/1.1 302 This is a weirdo text message swsclose
Connection: close Connection: close
Location: Location:

View File

@ -1,25 +1,25 @@
<reply> <reply>
<data> <data>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: 550002 Location: 550002
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close
</data> </data>
<data2> <data2>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close
body body
</data2> </data2>
<datacheck> <datacheck>
HTTP/1.1 302 OK HTTP/1.1 302 OK swsclose
Location: 550002 Location: 550002
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:50:00 GMT Date: Thu, 09 Nov 2010 14:50:00 GMT
Connection: close Connection: close

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Funny-head: yesyes Funny-head: yesyes
This is the proof it works This is the proof it works

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Funny-head: yesyes Funny-head: yesyes
Content-Type: text/html; charset=ISO-8859-4 Content-Type: text/html; charset=ISO-8859-4

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.0 200 OK HTTP/1.0 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake

View File

@ -2,7 +2,7 @@
# Server-side # Server-side
<reply name="1"> <reply name="1">
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake

View File

@ -6,6 +6,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Type: text/html Content-Type: text/html
Funny-head: yesyes Funny-head: yesyes
swsclose: booo
</data> </data>
</reply> </reply>

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.0 200 OK HTTP/1.0 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake

View File

@ -11,6 +11,7 @@ Set-Cookie: test2=yes; domain=host.foo.com; expires=Tue Feb 1 11:56:27 MET 2007
Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure
Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure
Set-Cookie: test5=name; domain=anything.com; path=/ ; secure Set-Cookie: test5=name; domain=anything.com; path=/ ; secure
Content-Length: 4
boo boo
</data> </data>

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Content-Type: text/html Content-Type: text/html

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Content-Type: text/html Content-Type: text/html

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 401 Authorization Required HTTP/1.1 401 Authorization Required swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
@ -12,7 +12,7 @@ This is not the real page
# This is supposed to be returned when the server gets a # This is supposed to be returned when the server gets a
# Authorization: Digest line passed-in from the client # Authorization: Digest line passed-in from the client
<data1000> <data1000>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
@ -20,12 +20,12 @@ This IS the real page!
</data1000> </data1000>
<datacheck> <datacheck>
HTTP/1.1 401 Authorization Required HTTP/1.1 401 Authorization Required swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145" WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1

View File

@ -5,6 +5,7 @@ HTTP/1.1 401 Authorization Required
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
WWW-Authenticate: Digest realm="testrealm", nonce="2053604145" WWW-Authenticate: Digest realm="testrealm", nonce="2053604145"
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 26
This is not the real page This is not the real page
</data> </data>
@ -15,6 +16,7 @@ This is not the real page
HTTP/1.1 401 Still a bad password you moron HTTP/1.1 401 Still a bad password you moron
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 34
This is not the real page either This is not the real page either
</data1000> </data1000>
@ -24,10 +26,12 @@ HTTP/1.1 401 Authorization Required
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
WWW-Authenticate: Digest realm="testrealm", nonce="2053604145" WWW-Authenticate: Digest realm="testrealm", nonce="2053604145"
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 26
HTTP/1.1 401 Still a bad password you moron HTTP/1.1 401 Still a bad password you moron
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 34
This is not the real page either This is not the real page either
</datacheck> </datacheck>

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
no headers no headers swsclose
</data> </data>
</reply> </reply>

View File

@ -9,6 +9,7 @@
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
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 34
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
This is not the real page either! This is not the real page either!
@ -17,7 +18,7 @@ This is not the real page either!
# This is supposed to be returned when the server gets the second # This is supposed to be returned when the server gets the second
# Authorization: NTLM line passed-in from the client # Authorization: NTLM line passed-in from the client
<data1002> <data1002>
HTTP/1.1 200 Things are fine in server land HTTP/1.1 200 Things are fine in server land swsclose
Server: Microsoft-IIS/5.0 Server: Microsoft-IIS/5.0
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
@ -28,9 +29,10 @@ Finally, this is the real page!
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
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 34
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
HTTP/1.1 200 Things are fine in server land HTTP/1.1 200 Things are fine in server land swsclose
Server: Microsoft-IIS/5.0 Server: Microsoft-IIS/5.0
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1

View File

@ -6,6 +6,7 @@
<data1001> <data1001>
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
Content-Length: 34
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
@ -18,6 +19,7 @@ This is not the real page either!
HTTP/1.1 401 You give me wrong password HTTP/1.1 401 You give me wrong password
Server: Microsoft-IIS/5.0 Server: Microsoft-IIS/5.0
WWW-Authenticate: NTLM WWW-Authenticate: NTLM
Content-Length: 46
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Wrong password dude. Get it fixed and return. Wrong password dude. Get it fixed and return.
@ -26,12 +28,14 @@ Wrong password dude. Get it fixed and return.
<datacheck> <datacheck>
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
Content-Length: 34
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
HTTP/1.1 401 You give me wrong password HTTP/1.1 401 You give me wrong password
Server: Microsoft-IIS/5.0 Server: Microsoft-IIS/5.0
WWW-Authenticate: NTLM WWW-Authenticate: NTLM
Content-Length: 46
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Wrong password dude. Get it fixed and return. Wrong password dude. Get it fixed and return.

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 401 Authorization Required HTTP/1.1 401 Authorization Required swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
WWW-Authenticate: Basic WWW-Authenticate: Basic
WWW-Authenticate: Wild-and-crazy WWW-Authenticate: Wild-and-crazy
@ -16,6 +16,7 @@ This is not the real page
<data1001> <data1001>
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
Content-Length: 34
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
@ -25,7 +26,7 @@ This is not the real page either!
# This is supposed to be returned when the server gets the second # This is supposed to be returned when the server gets the second
# Authorization: NTLM line passed-in from the client # Authorization: NTLM line passed-in from the client
<data1002> <data1002>
HTTP/1.1 200 Things are fine in server land HTTP/1.1 200 Things are fine in server land swsclose
Server: Microsoft-IIS/5.0 Server: Microsoft-IIS/5.0
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
@ -33,7 +34,7 @@ Finally, this is the real page!
</data1002> </data1002>
<datacheck> <datacheck>
HTTP/1.1 401 Authorization Required HTTP/1.1 401 Authorization Required swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
WWW-Authenticate: Basic WWW-Authenticate: Basic
WWW-Authenticate: Wild-and-crazy WWW-Authenticate: Wild-and-crazy
@ -42,10 +43,11 @@ Content-Type: text/html; charset=iso-8859-1
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
Content-Length: 34
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
HTTP/1.1 200 Things are fine in server land HTTP/1.1 200 Things are fine in server land swsclose
Server: Microsoft-IIS/5.0 Server: Microsoft-IIS/5.0
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1

View File

@ -5,7 +5,7 @@ HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Type: text/html Content-Type: text/html
Funny-head: yesyes Funny-head: yesyes swsclose
Set-Cookie: foobar=name; domain=127.0.0.1; path=/; Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/"; Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
Set-Cookie: partmatch=present; domain=.0.0.1; path=/; Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
@ -43,7 +43,7 @@ HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Type: text/html Content-Type: text/html
Funny-head: yesyes Funny-head: yesyes swsclose
Set-Cookie: foobar=name; domain=127.0.0.1; path=/; Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/"; Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
Set-Cookie: partmatch=present; domain=.0.0.1; path=/; Set-Cookie: partmatch=present; domain=.0.0.1; path=/;

View File

@ -6,6 +6,7 @@ Server: Apache/1.3.27 (Darwin) PHP/4.1.2
WWW-Authenticate: Digest realm="testrealm", nonce="1053604199" WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"
WWW-Authenticate: NTLM WWW-Authenticate: NTLM
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 26
This is not the real page This is not the real page
</data> </data>
@ -16,6 +17,7 @@ This is not the real page
HTTP/1.1 200 OK HTTP/1.1 200 OK
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 23
This IS the real page! This IS the real page!
</data1000> </data1000>
@ -26,10 +28,12 @@ Server: Apache/1.3.27 (Darwin) PHP/4.1.2
WWW-Authenticate: Digest realm="testrealm", nonce="1053604199" WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"
WWW-Authenticate: NTLM WWW-Authenticate: NTLM
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 26
HTTP/1.1 200 OK HTTP/1.1 200 OK
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Content-Length: 23
This IS the real page! This IS the real page!
</datacheck> </datacheck>

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake

View File

@ -1,7 +1,7 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 OK HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake