From 300b4a915820293d6ba3a83150cbb585c288a482 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 31 May 2005 13:03:26 +0000 Subject: Todd Kulesza reported a flaw in the proxy option, since a numerical IPv6 address was not possible to use. It is now, but requires it written RFC2732-style, within brackets - which incidently is how you enter numerical IPv6 addresses in URLs. Test case 263 added to verify. --- tests/data/test263 | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 tests/data/test263 (limited to 'tests/data/test263') diff --git a/tests/data/test263 b/tests/data/test263 new file mode 100644 index 000000000..837f2470e --- /dev/null +++ b/tests/data/test263 @@ -0,0 +1,53 @@ + + +HTTP +HTTP GET +IPv6 +HTTP proxy + + +# +# Server-side + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Content-Length: 6 +Content-Type: text/html + +hello + + + +# +# Client-side + + +ipv6 + + +http-ipv6 + + +HTTP-IPv6 GET with proxy specified using IPv6-numerical address + + +-g -x "http://%HOST6IP:%HTTP6PORT" http://veryveryremotesite.com/263 + + + +# +# Verify data after the test has been "shot" + + +^User-Agent: + + +GET http://veryveryremotesite.com/263 HTTP/1.1 +Host: veryveryremotesite.com +Pragma: no-cache +Accept: */* +Proxy-Connection: Keep-Alive + + + -- cgit v1.2.3