CURLOPT_CURLU
CURLINFO_EFFECTIVE_URL
# Server-side
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes swsclose
# Client-side
http
CURLOPT_CURLU and CURLINFO_EFFECTIVE_URL
lib%TESTNUMBER
# The test does three transfers to check how CURLINFO_EFFECTIVE_URL is reported
# when CURLOPT_CURLU changes between transfers. (Bug #15984)
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
effective URL: http://%HOSTIP:%HTTPPORT/%TESTNUMBER
effective URL: http://%HOSTIP:%HTTPPORT/%TESTNUMBER?foo
effective URL: http://%HOSTIP:%HTTPPORT/%TESTNUMBER?foo&bar
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
GET /%TESTNUMBER?foo HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
GET /%TESTNUMBER?foo&bar HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*