summaryrefslogtreecommitdiff
path: root/tests/data/test44
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-04 12:30:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-04 12:30:35 +0000
commit7fd91d70bd0bb5130d4b401b47cf0f633ec30e65 (patch)
tree96044a185fa80ba6c1cc25078748fe6d61615478 /tests/data/test44
parent61788a0389962ecf22b3711b142a1e6783359bf1 (diff)
downloadcurl-7fd91d70bd0bb5130d4b401b47cf0f633ec30e65.tar.gz
adjusted the formpost testcases to the new boundary string construction
Diffstat (limited to 'tests/data/test44')
-rw-r--r--tests/data/test4415
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/data/test44 b/tests/data/test44
index 8a1d29247..14fa41b8c 100644
--- a/tests/data/test44
+++ b/tests/data/test44
@@ -29,32 +29,33 @@ bar
# Verify data after the test has been "shot"
<verify>
<strip>
-^(User-Agent:|Content-Type: multipart/form-data;|--curl).*
+^(User-Agent:|Content-Type: multipart/form-data;|------).*
</strip>
<protocol>
POST /we/want/44 HTTP/1.1
+User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
-Content-Length: 376
-Content-Type: multipart/form-data; boundary=curluczemxkcWWsxptLlAImrFQHwQ3W
+Content-Length: 412
+Content-Type: multipart/form-data; boundary=----------------------------7c633d5c27ce
---curluczemxkcWWsxptLlAImrFQHwQ3W
+------------------------------7c633d5c27ce
Content-Disposition: form-data; name="name"
daniel
---curluczemxkcWWsxptLlAImrFQHwQ3W
+------------------------------7c633d5c27ce
Content-Disposition: form-data; name="tool"
curl
---curluczemxkcWWsxptLlAImrFQHwQ3W
+------------------------------7c633d5c27ce
Content-Disposition: form-data; name="file"; filename="log/test44.txt"
Content-Type: text/plain
foo-
This is a moo-
bar
---curluczemxkcWWsxptLlAImrFQHwQ3W--
+------------------------------7c633d5c27ce--
</protocol>
</verify>