summaryrefslogtreecommitdiff
path: root/tests/data/test519
Commit message (Collapse)AuthorAgeFilesLines
* http: always send Host: header as first headerDaniel Stenberg2015-03-121-2/+2
| | | | | | | | | | | | | | | ...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
* testsuite: use binary output mode for custom curl test toolsMarc Hoersken2014-02-141-21/+21
| | | | | | | | | | | Do not try to convert line-endings to CRLF on Windows by setting stdout to binary mode, just like the curl tool does if --ascii is not specified. This should prevent corrupted stdout line-ending output like CRCRLF. In order to make the previously naive text-aware tests work with binary mode on Windows, text-mode is disabled for them if it is not actually part of the test case and line-endings are corrected.
* tests: add keywords for a couple of HTTP testsFabian Keil2013-08-111-0/+7
|
* 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. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
* Andres Garcia's text mode fix for the 'data' partDaniel Stenberg2005-06-031-1/+1
|
* Modified the default HTTP headers used by libcurl:Daniel Stenberg2005-05-111-2/+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"
* use the correct variables, not fixed valuesDaniel Stenberg2004-12-141-2/+2
|
* Harshal Pradhan fixed changing username/password on a persitent HTTPDaniel Stenberg2004-12-141-0/+71
connection.