summaryrefslogtreecommitdiff
path: root/tests/data/test523
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Proxy-Connection: stop sending this header by default"Daniel Stenberg2016-08-161-0/+1
| | | | This reverts commit 113f04e664b16b944e64498a73a4dab990fe9a68.
* Proxy-Connection: stop sending this header by defaultDaniel Stenberg2016-02-081-1/+0
| | | | | | | | | RFC 7230 says we should stop. Firefox already stopped. Bug: https://github.com/curl/curl/issues/633 Reported-By: Brad Fitzpatrick Closes #633
* 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
* testsuite: use binary output mode for custom curl test toolsMarc Hoersken2014-02-141-1/+1
| | | | | | | | | | | 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.
* testsuite: changed HTTP and RTSP header line-endings to CRLFMarc Hoersken2014-02-141-8/+8
| | | | | | | | | According to RFC 2616 and RFC 2326 individual protocol elements, like headers and except the actual content, are terminated by using CRLF. Therefore the test data files for these protocols need to contain mixed line-endings if the actual protocol elements use CRLF while the file uses LF.
* test523: avoid using haxx.seDaniel Stenberg2011-03-091-3/+3
| | | | | ... since search engines find what they think is a URL in this, they hammer www.haxx.se on this port!
* Remove pointless storing of the protocol as a string within the connectdataDaniel Stenberg2009-12-171-1/+1
| | | | struct, and instead use the already stored string in the handler struct.
* Always use nocheck="yes" for consistencyDan Fandrich2009-01-071-1/+1
|
* - I removed the default use of "Pragma: no-cache" from libcurl when a proxy isDaniel Stenberg2008-11-191-1/+0
| | | | | used. It has been used since forever but it was never a good idea to use unless explicitly asked for.
* Added "HTTP proxy" and "proxytunnel" keywords where applicableDan Fandrich2008-09-291-0/+1
|
* Convert (most of) the test data files into genuine XML. A handful stillDan Fandrich2007-01-231-2/+4
| | | | | | 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 mode=text patch to make these do fine on WindowsDaniel Stenberg2005-05-241-1/+1
|
* Modified the default HTTP headers used by libcurl:Daniel Stenberg2005-05-111-0/+1
| | | | | | | | | | | | | | | | 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"
* added CURLOPT_PORT test when using proxyDaniel Stenberg2005-04-191-0/+61