From 9cdf6fb64b1f701afc38f1cc74079849f547d006 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 7 Jan 2005 21:09:50 +0000 Subject: added test 199 --- tests/data/Makefile.am | 5 +++-- tests/data/test199 | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 tests/data/test199 diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 237495543..79ee0609b 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -29,8 +29,9 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test184 test185 test186 test187 test188 test189 test191 test192 \ 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 + test223 test224 test206 test207 test208 test209 test213 test240 \ + 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 diff --git a/tests/data/test199 b/tests/data/test199 new file mode 100644 index 000000000..875815eb4 --- /dev/null +++ b/tests/data/test199 @@ -0,0 +1,52 @@ +# +# Server-side + + +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 + + + + + +# +# Client-side + + +http + + +HTTP with -d, -G and {} + + +-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/{199,199} -G + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +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: */* + + + -- cgit v1.2.3