HTTP
URL API
CURLOPT_CURLU
CURLOPT_FOLLOWLOCATION
# Server-side
HTTP/1.1 302 OK
Content-Length: 6
Location: /15670002
-foo-
HTTP/1.1 200 OK
Content-Length: 11
redirected
redirected
redirected
# Client-side
http
# tool is what to use instead of 'curl'
lib1567
re-run redirected transfer without setting CURLU URL again
http://%HOSTIP:%HTTPPORT/1567
^User-Agent:.*
GET /1567 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
GET /15670002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
GET /1567 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
GET /15670002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*