diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-05-31 13:03:26 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-31 13:03:26 +0000 |
commit | 300b4a915820293d6ba3a83150cbb585c288a482 (patch) | |
tree | c825911f596f91548e9e3e00b64875b342f88f33 /tests/data/test263 | |
parent | 52071f3476b33323226785d3175a3e6f888587e2 (diff) | |
download | curl-300b4a915820293d6ba3a83150cbb585c288a482.tar.gz |
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.
Diffstat (limited to 'tests/data/test263')
-rw-r--r-- | tests/data/test263 | 53 |
1 files changed, 53 insertions, 0 deletions
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 @@ +<info> +<keywords> +HTTP +HTTP GET +IPv6 +HTTP proxy +</keywords> +</info> +# +# Server-side +<reply> +<data> +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Content-Length: 6 +Content-Type: text/html + +hello +</data> +</reply> + +# +# Client-side +<client> +<features> +ipv6 +</features> +<server> +http-ipv6 +</server> + <name> +HTTP-IPv6 GET with proxy specified using IPv6-numerical address + </name> + <command> +-g -x "http://%HOST6IP:%HTTP6PORT" http://veryveryremotesite.com/263 +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<strip> +^User-Agent: +</strip> +<protocol> +GET http://veryveryremotesite.com/263 HTTP/1.1
+Host: veryveryremotesite.com
+Pragma: no-cache
+Accept: */*
+Proxy-Connection: Keep-Alive
+
+</protocol> +</verify> |