From 7fd91d70bd0bb5130d4b401b47cf0f633ec30e65 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 4 Apr 2003 12:30:35 +0000 Subject: adjusted the formpost testcases to the new boundary string construction --- tests/data/test9 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'tests/data/test9') 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" -^(User-Agent:|Content-Type: multipart/form-data;|--curl).* +^(User-Agent:|Content-Type: multipart/form-data;|------------).* 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-- -- cgit v1.2.3