aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test9
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/test9
parent61788a0389962ecf22b3711b142a1e6783359bf1 (diff)
adjusted the formpost testcases to the new boundary string construction
Diffstat (limited to 'tests/data/test9')
-rw-r--r--tests/data/test915
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/data/test9 b/tests/data/test9
index cfa981816..ec5b3d35b 100644
--- a/tests/data/test9
+++ b/tests/data/test9
@@ -29,33 +29,34 @@ 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/9 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: 375
+Content-Length: 411
Expect: 100-continue
-Content-Type: multipart/form-data; boundary=curluczemxkcWWsxptLlAImrFQHwQ3W
+Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763
---curluczemxkcWWsxptLlAImrFQHwQ3W
+------------------------------9ef8d6205763
Content-Disposition: form-data; name="name"
daniel
---curluczemxkcWWsxptLlAImrFQHwQ3W
+------------------------------9ef8d6205763
Content-Disposition: form-data; name="tool"
curl
---curluczemxkcWWsxptLlAImrFQHwQ3W
+------------------------------9ef8d6205763
Content-Disposition: form-data; name="file"; filename="log/test9.txt"
Content-Type: text/plain
foo-
This is a moo-
bar
---curluczemxkcWWsxptLlAImrFQHwQ3W--
+------------------------------9ef8d6205763--
</protocol>
</verify>