diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-09-14 23:33:28 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-22 11:58:10 +0200 |
commit | 46e164069d1a5230e4e64cbd2ff46c46cce056bb (patch) | |
tree | 140ba8a3d265bfb33f7db446d2b7b24616b5f6b0 /tests | |
parent | f078361c0e2539689df9962f35ab22f8ea25afe9 (diff) |
url: use the URL API internally as well
... to make it a truly unified URL parser.
Closes #3017
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test325 | 4 | ||||
-rw-r--r-- | tests/data/test523 | 4 | ||||
-rw-r--r-- | tests/data/test563 | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/data/test325 b/tests/data/test325 index 6d5898d45..922f37ba2 100644 --- a/tests/data/test325 +++ b/tests/data/test325 @@ -15,7 +15,7 @@ HTTP/1.1 301 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Length: 7 -Location: http://%HOSTIP:%HTTPPORT/325 +Location: http://somewhere/325 MooMoo </data> @@ -24,7 +24,7 @@ HTTP/1.1 301 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Length: 7 -Location: http://%HOSTIP:%HTTPPORT/325 +Location: http://somewhere/325 </datacheck> </reply> diff --git a/tests/data/test523 b/tests/data/test523 index 9abe0ed22..665211d48 100644 --- a/tests/data/test523 +++ b/tests/data/test523 @@ -39,7 +39,7 @@ HTTP GET with proxy and CURLOPT_PORT </name> # first URL then proxy <command> -http://www.example.com:999/523 http://%HOSTIP:%HTTPPORT +http://www.example.com:999/523 http://%HOSTIP:%HTTPPORT </command> </client> @@ -50,7 +50,7 @@ http://www.example.com:999/523 http://%HOSTIP:%HTTPPORT ^User-Agent:.* </strip> <protocol> -GET HTTP://www.example.com:19999/523 HTTP/1.1
+GET http://www.example.com:19999/523 HTTP/1.1
Host: www.example.com:19999
Authorization: Basic eHh4Onl5eQ==
Accept: */*
diff --git a/tests/data/test563 b/tests/data/test563 index cecbedc21..c9df79219 100644 --- a/tests/data/test563 +++ b/tests/data/test563 @@ -47,7 +47,7 @@ ftp_proxy=http://%HOSTIP:%HTTPPORT/ # Verify data after the test has been "shot" <verify> <protocol> -GET FTP://%HOSTIP:%FTPPORT/563;type=A HTTP/1.1
+GET ftp://%HOSTIP:%FTPPORT/563;type=A HTTP/1.1
Host: %HOSTIP:%FTPPORT
Accept: */*
Proxy-Connection: Keep-Alive
|