Daniel Stenberg
e6b21d422e
runtests: provide curl's version string as %VERSION for tests
...
... so that we can check HTTP requests for User-Agent: curl/%VERSION
Update 600+ test cases accordingly.
Closes #6037
2020-10-02 22:54:23 +02:00
Marcel Raad
476eb88171
tests: use proxy feature
...
This makes the tests succeed when using --disable-proxy.
Closes https://github.com/curl/curl/pull/4488
2019-10-15 07:56:55 +02:00
Daniel Stenberg
93b0d907d5
Revert "Proxy-Connection: stop sending this header by default"
...
This reverts commit 113f04e664
.
2016-08-16 08:36:04 +02:00
Daniel Stenberg
113f04e664
Proxy-Connection: stop sending this header by default
...
RFC 7230 says we should stop. Firefox already stopped.
Bug: https://github.com/curl/curl/issues/633
Reported-By: Brad Fitzpatrick
Closes #633
2016-02-08 11:09:40 +01:00
Daniel Stenberg
4af40b3646
URLs: change all http:// URLs to https://
2016-02-03 00:19:02 +01:00
Daniel Stenberg
c75ece4442
cookies: change the URL in the cookie jar file header
2012-07-03 11:27:45 +02:00
Daniel Stenberg
40e8b4e527
- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
...
used. It has been used since forever but it was never a good idea to use
unless explicitly asked for.
2008-11-19 22:00:14 +00:00
Dan Fandrich
372203f1fa
Added "HTTP proxy" and "proxytunnel" keywords where applicable
2008-09-29 22:44:04 +00:00
Daniel Stenberg
e138ae5ec9
- I'm abandoning the system with the web site mirrors (but keeping download
...
files bing mirrored) and thus I've changed the URL in the cookiejar header
to no longer use curlm.haxx.se but instead use the main site curl.haxx.se
2008-08-28 11:35:54 +00:00
Dan Fandrich
2741f97a69
Fixed a couple of typos that messed up the tests.
2007-10-12 02:09:45 +00:00
Dan Fandrich
d7fbe07ee2
Added some <keywords> sections and use some key words more consistently.
2007-10-12 01:44:22 +00:00
Dan Fandrich
33bea767eb
Convert (most of) the test data files into genuine XML. A handful still
...
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.
2007-01-23 02:25:56 +00:00
Daniel Stenberg
68e9f75708
As reported in bug: #1566077 the former URL mentioned in the generated cookie
...
jar has died and we now instead point out our own version of that
2006-09-27 21:00:45 +00:00
Daniel Stenberg
6a63c51f7c
Andres Garcia's mode=text patch to make these do fine on Windows
2005-05-24 10:03:13 +00:00
Daniel Stenberg
5d9fc28fa7
Modified the default HTTP headers used by libcurl:
...
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"
2005-05-11 09:52:59 +00:00
Daniel Stenberg
2b1673c9c8
Now the test servers and test cases can run on a custom port number. There's
...
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.
2004-09-08 08:08:38 +00:00
Daniel Stenberg
4ed58463f7
better name
2004-05-24 09:01:45 +00:00
Daniel Stenberg
755f98e768
While talking to host a.b.c, libcurl did wrongly not accept cookies that were
...
set to the domain .a.b.c (that is with a dot prefix). This is now fixed and
test case 171 verifies it.
2004-05-21 20:40:15 +00:00