From 992a731116fc9134d4a0acf17fe10219917ecb30 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Tue, 7 Apr 2015 16:54:50 +0200 Subject: test142[23]: verify that an empty file is stored on success --- tests/data/test1423 | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/data/test1423 (limited to 'tests/data/test1423') diff --git a/tests/data/test1423 b/tests/data/test1423 new file mode 100644 index 000000000..962d6c990 --- /dev/null +++ b/tests/data/test1423 @@ -0,0 +1,56 @@ + + + +HTTP +HTTP GET + + + +# + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 0 +Connection: close +Content-Type: text/html + + + + +# +# Client-side + + +http + + +HTTP GET -o fname without Content-Disposition (empty file) + + +http://%HOSTIP:%HTTPPORT/1423 -o log/outfile1423 file://%PWD/log/outfile1423 + + +perl %SRCDIR/libtest/notexists.pl log/1423 + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1423 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + + + + + -- cgit v1.2.3