diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-10-01 06:36:11 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-10-01 06:36:11 +0000 |
commit | 8e87223195bba350f7fab9575a3ea3de85a49166 (patch) | |
tree | 17277913163f4bb1b99a70d88ebc1a25f8415f47 /tests/data/test39 | |
parent | be1cece69b2bc7b73c07166ec5e164fabdac1c95 (diff) |
- 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/test39')
-rw-r--r-- | tests/data/test39 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test39 b/tests/data/test39 index 96b4661a2..15f9e9358 100644 --- a/tests/data/test39 +++ b/tests/data/test39 @@ -41,7 +41,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:%HTTPPORT
Pragma: no-cache
Accept: */*
-Content-Length: 598
+Content-Length: 594
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------24e78000bd32
@@ -63,7 +63,7 @@ bar foo ------------------------------24e78000bd32
-Content-Disposition: form-data; name="file2"; filename="log/test39.txt"
+Content-Disposition: form-data; name="file2"; filename="test39.txt"
Content-Type: text/plain
foo bar |