HTTP
HTTP GET
--write-out
# Server-side
HTTP/1.1 200 OK swsclose
Funny-head: yesyes
Content-Type: text/html; charset=ISO-8859-4
# Client-side
http
HTTP content-type with spaces in
-w "%{content_type}\n" http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/out%TESTNUMBER
# Verify data after the test has been "shot"
text/html; charset=ISO-8859-4
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*