From 8ce78ca488f589d9b1987e7713f28f9da15cba0f Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 28 Aug 2008 06:28:07 +0000 Subject: Fixed test case 1065 by changing the handling of CURLOPT_UPLOAD to set the HTTP method to GET (or HEAD) when given a value of 0. --- tests/data/DISABLED | 1 - tests/data/test1065 | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/data') diff --git a/tests/data/DISABLED b/tests/data/DISABLED index 9e61456de..87d335550 100644 --- a/tests/data/DISABLED +++ b/tests/data/DISABLED @@ -3,5 +3,4 @@ # test cases are run by runtests.pl. Just add the plain test case numbers, one # per line. # Lines starting with '#' letters are treated as comments. -1065 1069 diff --git a/tests/data/test1065 b/tests/data/test1065 index 700d8110b..87f4654ca 100644 --- a/tests/data/test1065 +++ b/tests/data/test1065 @@ -3,6 +3,7 @@ HTTP HTTP PUT +HTTP GET @@ -35,7 +36,7 @@ http HTTP PUT with one file but two URLs --H "Expect:" -T log/1065 http://%HOSTIP:%HTTPPORT/1065.upload1 http://%HOSTIP:%HTTPPORT/10650002.upload2 +-H "Expect:" -T log/1065 http://%HOSTIP:%HTTPPORT/1065.upload1 http://%HOSTIP:%HTTPPORT/10650002.url2 test @@ -54,10 +55,9 @@ Accept: */* Content-Length: 5 test -PUT /10650002.upload2 HTTP/1.1 +GET /10650002.url2 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -Content-Length: 0 -- cgit v1.2.3