HTTP
HTTP GET
--interface
IPv6
#
# Server-side
HTTP/1.1 200 OK
Date: Mon, 28 Jul 2008 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/plain
-foo-
#
# Client-side
ipv6
http-ipv6
HTTP-IPv6 GET with numeric localhost --interface
-g "http://%HOST6IP:%HTTP6PORT/1046" --interface ::1
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
perl -e "print 'Test requires default test client host address' if ( '%CLIENT6IP' ne '[::1]' );"
#
# Verify data after the test has been "shot"
GET /1046 HTTP/1.1
Host: %HOST6IP:%HTTP6PORT
User-Agent: curl/%VERSION
Accept: */*