Commit c50a601f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

HTTP server
parent bc0fd6db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# 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

+4 −4
Original line number Diff line number Diff line
# 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
@@ -11,7 +11,7 @@ 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

@@ -19,13 +19,13 @@ If this is received, the location following worked

</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

+1 −1
Original line number Diff line number Diff line
@@ -2,10 +2,10 @@
<reply>
<data>
HTTP/1.1 200 Read you
Content-Length: 29
Deleted: suppose we got a header like this! ;-)

blabla custom request result

</data>
</reply>

+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ HTTP/1.4 200 OK
Fake: yes
Fake: yes
Fake: yes
Content-Length: 26

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

Repeated nonsense-headers
http://127.0.0.1:8999/want/15 200 26
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
Content-Length: 22

the content goes here
</data>
Loading