summaryrefslogtreecommitdiff
path: root/tests/data/test304
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-01 06:36:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-01 06:36:11 +0000
commit8e87223195bba350f7fab9575a3ea3de85a49166 (patch)
tree17277913163f4bb1b99a70d88ebc1a25f8415f47 /tests/data/test304
parentbe1cece69b2bc7b73c07166ec5e164fabdac1c95 (diff)
downloadcurl-8e87223195bba350f7fab9575a3ea3de85a49166.tar.gz
- Based on Fedor Karpelevitch's formpost path basename patch, file parts in
formposts no longer include the path part. If you _really_ want them, you must provide your preferred full file name with CURLFORM_FILENAME. Added detection for libgen.h and basename() to configure. My custom basename() replacement function for systems without it, might be a bit too naive... Updated 6 test cases to make them work with the stripped paths.
Diffstat (limited to 'tests/data/test304')
-rw-r--r--tests/data/test3044
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test304 b/tests/data/test304
index 75751c2c0..8aaff245f 100644
--- a/tests/data/test304
+++ b/tests/data/test304
@@ -38,7 +38,7 @@ User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 z
Host: 127.0.0.1:%HTTPSPORT
Pragma: no-cache
Accept: */*
-Content-Length: 1390
+Content-Length: 1386
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------c3b2ef7f0bb8
@@ -51,7 +51,7 @@ Content-Disposition: form-data; name="tool"
curl
------------------------------c3b2ef7f0bb8
-Content-Disposition: form-data; name="file"; filename="log/test304.txt"
+Content-Disposition: form-data; name="file"; filename="test304.txt"
Content-Type: text/plain
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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