aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test39
AgeCommit message (Collapse)Author
2013-01-22formpost: support quotes, commas and semicolon in file namesUlion
- document the double-quote and backslash need be escaped if quoting. - libcurl formdata escape double-quote in filename by backslash. - curl formparse can parse filename both contains '"' and ',' or ';'. - curl now can uploading file with ',' or ';' in filename. Bug: http://curl.haxx.se/bug/view.cgi?id=1171
2012-11-19Do not mix CRLF and LF header endings in a couple of HTTP testsFabian Keil
Consistently use CRLF instead. The mixed endings weren't documented so I assume they were unintentional. This change doesn't matter for curl itself but makes using the tests with a proxy between curl and the test server more convenient. Tests that consistently use no carriage returns were left unmodified as one can easily work around this.
2010-08-24Fixed a NULL pointer dereference in form postingDan Fandrich
It was introduced in commit eeb2cb05 along with the -F type= change. Also fixed a typo in the name of the magic filename= parameter. Tweaked tests 39 and 173 to better test this path.
2007-09-14Replaced 127.0.0.1 with %HOSTIP where possibleDan Fandrich
2007-01-23Convert (most of) the test data files into genuine XML. A handful stillDan Fandrich
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
2005-05-11Modified the default HTTP headers used by libcurl:Daniel Stenberg
A) Normal non-proxy HTTP: - no more "Pragma: no-cache" (this only makes sense to proxies) B) Non-CONNECT HTTP request over proxy: - "Pragma: no-cache" is used (like before) - "Proxy-Connection: Keep-alive" (for older style 1.0-proxies) C) CONNECT HTTP request over proxy: - "Host: [name]:[port]" - "Proxy-Connection: Keep-alive"
2005-04-22keywords addedDaniel Stenberg
2005-03-12David Houlder added --form-stringDaniel Stenberg
2005-01-25A minor "syntax error" in numerous test files correctedDaniel Stenberg
2004-10-01- Based on Fedor Karpelevitch's formpost path basename patch, file parts inDaniel Stenberg
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.
2004-09-08Now the test servers and test cases can run on a custom port number. There'sDaniel Stenberg
no fixed port numbers in use anymore. Starting now, the default ports the servers use are 8990 - 8993. There's no option to modify these yet, but changing the $base option in the top of the runtests.pl script.
2004-02-09Modified the default HTTP Accept: header to only be Accept: */*Daniel Stenberg
2003-07-19modified to work fine with the new persistant connection working test suiteDaniel Stenberg
HTTP server
2003-04-30Each test case now specifies which server(s) it needs, without relying on theDaniel Stenberg
test number.
2003-04-04adjusted the formpost testcases to the new boundary string constructionDaniel Stenberg
2002-03-11added test 39, tests the new -F featuresDaniel Stenberg