mirror of
https://github.com/curl/curl.git
synced 2026-07-23 15:47:15 +03:00
url: use the URL API internally as well
... to make it a truly unified URL parser. Closes #3017
This commit is contained in:
parent
f078361c0e
commit
46e164069d
22 changed files with 386 additions and 928 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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: */*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue