Commit 9cdf6fb6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added test 199

parent a137223b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -30,7 +30,8 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
 test193 test194 test195 test196 test197 test198 test515 test516	\
 test517 test518 test210 test211 test212 test220 test221 test222	\
 test223 test224 test206 test207 test208 test209 test213 test240	\
 test241 test242 test519 test214 test215 test216 test217 test218
 test241 test242 test519 test214 test215 test216 test217 test218	\
 test199

# The following tests have been removed from the dist since they no longer
# work. We need to fix the test suite's FTPS server first, then bring them

tests/data/test199

0 → 100644
+52 −0
Original line number Diff line number Diff line
#
# Server-side
<reply name="1">
<data>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
ETag: "21025-dc7-39462498"
Accept-Ranges: bytes
Content-Length: 6
Connection: close
Content-Type: text/html
Funny-head: yesyes

<foo>
</data>
</reply>

#
# Client-side
<client>
<server>
http
</server>
 <name>
HTTP with -d, -G and {}
 </name>
 <command>
-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/{199,199} -G
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
GET /199?foo=moo&moo=poo HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Pragma: no-cache
Accept: */*

GET /199?foo=moo&moo=poo HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Pragma: no-cache
Accept: */*

</protocol>
</verify>