summaryrefslogtreecommitdiff
path: root/tests/data/test275
Commit message (Collapse)AuthorAgeFilesLines
* runtests: provide curl's version string as %VERSION for testsDaniel Stenberg2020-10-021-4/+3
| | | | | | | | ... so that we can check HTTP requests for User-Agent: curl/%VERSION Update 600+ test cases accordingly. Closes #6037
* 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-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
* test1509: verify proxy header response headers countDaniel Stenberg2013-03-271-6/+13
| | | | | | | | | | | | | 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-6/+9
| | | | | | | | | | | | 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 proxy" and "proxytunnel" keywords where applicableDan Fandrich2008-09-291-0/+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.
* test 275 makes a CONNECT through a proxy and then gets two pages from theDaniel Stenberg2005-10-301-0/+73
same server