summaryrefslogtreecommitdiff
path: root/tests/data/test503
Commit message (Collapse)AuthorAgeFilesLines
* tests: use proxy featureMarcel Raad2019-10-151-1/+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
* tests: use connection-monitor and verify resultsDaniel Stenberg2012-07-051-0/+1
| | | | | | Test 1008 and 206 don't show the disconnect since it happens when SWS awaits a new request, but 503 does and so the verify section needs that string added.
* sws: add 'connection-monitor' command supportDaniel Stenberg2012-07-051-0/+3
| | | | | | | | | Using this, the server will output in the protocol log when the connection gets disconnected and thus we will verify correctly in the test cases that the connection doesn't get closed prematurely. This is important for example NTLM to work. Documentation added to FILEFORMAT, test 503 updated to use this.
* test proxy supports CONNECTDaniel Stenberg2012-01-031-5/+8
| | | | | | | | | | | | 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-1/+1
| | | | | | | | | | 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 CONNECT keywordsDan Fandrich2008-08-111-0/+12
|
* Replaced 127.0.0.1 with %HOSTIP where possibleDan Fandrich2007-09-141-4/+4
|
* 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/+2
| | | | | | | | | | | | | | | | 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"
* stricter newline policyDaniel Stenberg2004-11-291-2/+2
|
* Dan Fandrich's fix to use 127.0.0.1 instead of localhost to not depend onDaniel Stenberg2004-09-221-1/+1
| | | | it resolving nicely
* 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
|
* Modified the default HTTP Accept: header to only be Accept: */*Daniel Stenberg2004-02-091-1/+1
|
* added the extra newline that this needs to succeedDaniel Stenberg2004-01-281-0/+1
|
* CONNECT response headers are now passed back as "regular" headersDaniel Stenberg2004-01-271-0/+9
|
* better name, it isn't httpsDaniel Stenberg2003-10-241-1/+1
|
* updated as the second proxy-auth header was a proof of a serious info leakDaniel Stenberg2003-08-021-1/+0
| | | | bug!!
* modified to work fine with the new persistant connection working test suiteDaniel Stenberg2003-07-191-2/+2
| | | | HTTP server
* removed junkDaniel Stenberg2002-12-161-1/+0
|
* better descDaniel Stenberg2002-12-161-1/+1
|
* mistake, this only requires httpDaniel Stenberg2002-12-161-2/+2
|
* test case 503 entered the dirDaniel Stenberg2002-12-131-0/+53