HTTP
HTTP GET
-J
#
HTTP/1.1 200 swsclose
12345
fooo
54 3 2 1
Content-Disposition: filename=name1460; charset=funny; option=strange
#
# Client-side
# this relies on the debug feature to allow us to set directory to store the
# -J output in
debug
http
HTTP GET with -Ji and Content-Disposition with existing file
CURL_TESTDIR=%PWD/log
http://%HOSTIP:%HTTPPORT/1460 -Ji -O
initial content
#
# Verify data after the test has been "shot"
^User-Agent:.*
# Warning: --include and --remote-header-name cannot be combined.
2
initial content