lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP GET |
| 6 | IPv6 |
| 7 | HTTP proxy |
| 8 | </keywords> |
| 9 | </info> |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data> |
| 14 | HTTP/1.1 200 OK |
| 15 | Date: Thu, 09 Nov 2010 14:49:00 GMT |
| 16 | Content-Length: 6 |
| 17 | Content-Type: text/html |
| 18 | |
| 19 | hello |
| 20 | </data> |
| 21 | </reply> |
| 22 | |
| 23 | # |
| 24 | # Client-side |
| 25 | <client> |
| 26 | <features> |
| 27 | ipv6 |
| 28 | </features> |
| 29 | <server> |
| 30 | http-ipv6 |
| 31 | </server> |
| 32 | <name> |
| 33 | HTTP-IPv6 GET with proxy specified using IPv6-numerical address |
| 34 | </name> |
| 35 | <command> |
| 36 | -g -x "http://%HOST6IP:%HTTP6PORT" http://veryveryremotesite.com/263 |
| 37 | </command> |
| 38 | </client> |
| 39 | |
| 40 | # |
| 41 | # Verify data after the test has been "shot" |
| 42 | <verify> |
| 43 | <strip> |
| 44 | ^User-Agent: |
| 45 | </strip> |
| 46 | <protocol> |
| 47 | GET http://veryveryremotesite.com/263 HTTP/1.1
|
| 48 | Host: veryveryremotesite.com
|
| 49 | Accept: */*
|
| 50 | Proxy-Connection: Keep-Alive
|
| 51 |
|
| 52 | </protocol> |
| 53 | </verify> |
| 54 | </testcase> |