From 86b50a1fe5379c30cea7afdaef983050dc3b7413 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 4 Aug 2011 23:20:14 +0200 Subject: test1313: test content-disposition with uneven quotes --- tests/data/test1313 | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 tests/data/test1313 (limited to 'tests/data/test1313') diff --git a/tests/data/test1313 b/tests/data/test1313 new file mode 100644 index 000000000..2331ae9ee --- /dev/null +++ b/tests/data/test1313 @@ -0,0 +1,64 @@ + + + +HTTP +HTTP GET +-J + + + +# + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/html +Content-Disposition: inline; filename='name1313 + +12345 + + + +# +# Client-side + +# this relies on the debug feature to allow us to set directory to store the +# -J output in + +debug + + +http + + +HTTP GET with -J, Content-Disposition, uneven quotes + + +CURL_TESTDIR=%PWD/log + + +http://%HOSTIP:%HTTPPORT/1313 -J -O + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1313 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + +12345 + + + + -- cgit v1.2.3