summaryrefslogtreecommitdiff
path: root/tests/data/test194
Commit message (Collapse)AuthorAgeFilesLines
* http: always send Host: header as first headerDaniel Stenberg2015-03-121-1/+1
| | | | | | | | | | | | | | | ...after the method line: "Since the Host field-value is critical information for handling a request, a user agent SHOULD generate Host as the first header field following the request-line." / RFC 7230 section 5.4 Additionally, this will also make libcurl ignore multiple specified custom Host: headers and only use the first one. Test 1121 has been updated accordingly Bug: http://curl.haxx.se/bug/view.cgi?id=1491 Reported-by: Rainer Canavan
* http: fix the Content-Range: parserDaniel Stenberg2014-08-151-1/+17
| | | | | | | | | ... to handle "*/[total]". Also, removed the strange hack that made CURLOPT_FAILONERROR on a 416 response after a *RESUME_FROM return CURLE_OK. Reported-by: Dimitrios Siganos Bug: http://curl.haxx.se/mail/lib-2014-06/0221.html
* Test 92 and 194: normalize spaces in the Server headersFabian Keil2012-11-191-1/+1
| | | | | | It makes no difference from curl's point of view but makes it more convenient to use the tests with a lws-normalizing proxy between curl and the test server.
* HTTP: remove special case for 416Daniel Stenberg2010-10-021-1/+2
| | | | | | | | | It was pointed out that the special case libcurl did for 416 was incorrect and wrong. 416 is not really different to other errors so the response body must be handled like for other errors/http responses. Reported by: Chris Smowton Bug: http://curl.haxx.se/bug/view.cgi?id=3076808
* Edited some test keywords for consistencyDan Fandrich2008-06-211-1/+1
|
* Fixed a couple of typos that messed up the tests.Dan Fandrich2007-10-121-0/+1
|
* Added some <keywords> sections and use some key words more consistently.Dan Fandrich2007-10-121-0/+8
|
* Replaced 127.0.0.1 with %HOSTIP where possibleDan Fandrich2007-09-141-1/+1
|
* Convert (most of) the test data files into genuine XML. A handful stillDan Fandrich2007-01-231-0/+2
| | | | | | are not, due mainly to the lack of support for XML character entities (e.g. & => &amp; ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
* Modified the default HTTP headers used by libcurl:Daniel Stenberg2005-05-111-1/+0
| | | | | | | | | | | | | | | | 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"
* Tomas Pospisek filed bug report #1053287 that proved -C - and --fail on aDaniel Stenberg2004-10-251-0/+46
file that was already completely downloaded caused an error, while it doesn't if you don't use --fail! I added test case 194 to verify the fix. Grrr. CURLOPT_FAILONERROR is now added to the list stuff to remove in libcurl v8 due to all the kludges needed to support it.