summaryrefslogtreecommitdiff
path: root/tests/data/test1230
Commit message (Collapse)AuthorAgeFilesLines
* test1230: adjust to work in hyper modeDaniel Stenberg2021-06-101-2/+2
| | | | Closes #7209
* tests: use %TESTNUMBER instead of fixed numberDaniel Stenberg2021-03-191-3/+3
| | | | | | | This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
* tests: fixup several testsFabian Keil2021-02-091-4/+4
| | | | | | | | | | | | | | missing CRs and modified %hostip lib556/test556: use a real HTTP version to make test reuse more convenient make sure the weekday in Date headers matches the date test61: replace stray "^M" (5e 4d) at the end of a cookie with a '^M' (0d) Gets the test working with external proxies like Privoxy again. Closes #6463
* runtests: provide curl's version string as %VERSION for testsDaniel Stenberg2020-10-021-3/+2
| | | | | | | | ... 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/+1
| | | | | | This makes the tests succeed when using --disable-proxy. Closes https://github.com/curl/curl/pull/4488
* CONNECT: reject TE or CL in 2xx responsesDaniel Stenberg2016-12-011-2/+0
| | | | | | | | A server MUST NOT send any Transfer-Encoding or Content-Length header fields in a 2xx (Successful) response to CONNECT. (RFC 7231 section 4.3.6) Also fixes the three test cases that did this.
* 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
* curl: stop interpreting IPv6 literals as glob patterns.Paul Marks2014-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | This makes it possible to fetch from an IPv6 literal without specifying the -g option. Globbing remains available elsehwere in the URL. For example: curl http://[::1]/file[1-3].txt This creates no ambiguity, because there is no overlap between the syntax of valid globs and valid IPv6 literals. Globs contain hyphens and at most 1 colon, while IPv6 literals have no hyphens, and at least 2 colons. The peek_ipv6() parser simply whitelists a set of characters and counts colons, because the real validation happens later on. The character set includes A-Z, in case someone decides to implement support for scopes like [fe80::1%25eth0] in the future. Signed-off-by: Paul Marks <pmarks@google.com>
* tests: Added missing HTTP proxy keywordsDan Fandrich2014-01-251-1/+2
|
* test1230: avoid using hard-wired port numberKamil Dudka2013-06-221-1/+1
| | | | ... to prevent failure when a non-default -b option is given
* test1230: verify CONNECT to a numerical ipv6-addressDaniel Stenberg2013-06-041-0/+79