From 46e164069d1a5230e4e64cbd2ff46c46cce056bb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 14 Sep 2018 23:33:28 +0200 Subject: url: use the URL API internally as well ... to make it a truly unified URL parser. Closes #3017 --- tests/data/test325 | 4 ++-- tests/data/test523 | 4 ++-- tests/data/test563 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/data') 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 @@ -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 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 # first URL then proxy -http://www.example.com:999/523 http://%HOSTIP:%HTTPPORT +http://www.example.com:999/523 http://%HOSTIP:%HTTPPORT @@ -50,7 +50,7 @@ http://www.example.com:999/523 http://%HOSTIP:%HTTPPORT ^User-Agent:.* -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" -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 -- cgit v1.2.3