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/test44 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'tests/data/test44') 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" -^(User-Agent:|Content-Type: multipart/form-data;|--curl).* +^(User-Agent:|Content-Type: multipart/form-data;|------).* 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-- -- cgit v1.2.3