summaryrefslogtreecommitdiff
path: root/tests/data/test80
Commit message (Collapse)AuthorAgeFilesLines
* tests: use proxy featureMarcel Raad2019-10-151-0/+3
| | | | | | This makes the tests succeed when using --disable-proxy. Closes https://github.com/curl/curl/pull/4488
* 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
* test1509: verify proxy header response headers countDaniel Stenberg2013-03-271-4/+8
| | | | | | | | | | | | | Modified sws to support and use custom CONNECT responses instead of the previously naive hard-coded version. Made the HTTP test server able to extract test case number from the host name in a CONNECT request by finding the number after the last dot. It makes 'machine.moo.123' use test case 123. Adapted a larger amount of tests to the new <connect> style. Bug: http://curl.haxx.se/bug/view.cgi?id=1204 Reported by: Martin Jansen
* test proxy supports CONNECTDaniel Stenberg2012-01-031-3/+6
| | | | | | | | | | | | There's a new 'http-proxy' server for tests that runs on a separate port and lets clients do HTTP CONNECT to other ports on the same host to allow us to test HTTP "tunneling" properly. Test cases now have a <proxy> section in <verify> to check that the proxy protocol part matches correctly. Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316 was added.
* - Craig A West brought us: libcurl now defaults to do CONNECT with HTTPDaniel Stenberg2009-02-021-2/+2
| | | | | | | | | | version 1.1 instead of 1.0 like before. This change also introduces the new proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0 option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0. I updated all test cases cases that use CONNECT and I tried to do some using --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
* Added "HTTP proxy" and "proxytunnel" keywords where applicableDan Fandrich2008-09-291-0/+3
|
* Replaced 127.0.0.1 with %HOSTIP where possibleDan Fandrich2007-09-141-3/+3
|
* 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.
* Venkat Akella found out that libcurl did not like HTTP responses that simplyDaniel Stenberg2006-11-251-0/+2
| | | | | | | | | | | | | responded with a single status line and no headers nor body. Starting now, a HTTP response on a persistent connection (i.e not set to be closed after the response has been taken care of) must have Content-Length or chunked encoding set, or libcurl will simply assume that there is no body. To my horror I learned that we had no less than 57(!) test cases that did bad HTTP responses like this, and even the test http server (sws) responded badly when queried by the test system if it is the test system. So although the actual fix for the problem was tiny, going through all the newly failing test cases got really painful and boring.
* Modified the default HTTP headers used by libcurl:Daniel Stenberg2005-05-111-2/+3
| | | | | | | | | | | | | | | | 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"
* keywords addedDaniel Stenberg2005-04-221-0/+9
|
* A minor "syntax error" in numerous test files correctedDaniel Stenberg2005-01-251-1/+1
|
* stricter newline policyDaniel Stenberg2004-11-291-2/+2
|
* Now the test servers and test cases can run on a custom port number. There'sDaniel Stenberg2004-09-081-3/+3
| | | | | | 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.
* General HTTP authentication cleanup and fixesDaniel Stenberg2004-05-041-1/+1
|
* improved the name of the testDaniel Stenberg2004-05-031-1/+1
|
* Modified the default HTTP Accept: header to only be Accept: */*Daniel Stenberg2004-02-091-1/+1
|
* CONNECT response headers are now passed back as "regular" headersDaniel Stenberg2004-01-271-0/+11
|
* tunnel through proxy, with both proxy and regular authenticationDaniel Stenberg2003-08-111-0/+48