xf.li | 6c8fc1e | 2023-08-12 00:11:09 -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: Tue, 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 | proxy |
| 29 | </features> |
| 30 | <server> |
| 31 | http-ipv6 |
| 32 | </server> |
| 33 | <name> |
| 34 | HTTP-IPv6 GET with proxy specified using IPv6-numerical address |
| 35 | </name> |
| 36 | <command> |
| 37 | -g -x "http://%HOST6IP:%HTTP6PORT" http://veryveryremotesite.com/%TESTNUMBER |
| 38 | </command> |
| 39 | </client> |
| 40 | |
| 41 | # |
| 42 | # Verify data after the test has been "shot" |
| 43 | <verify> |
| 44 | <protocol> |
| 45 | GET http://veryveryremotesite.com/%TESTNUMBER HTTP/1.1
|
| 46 | Host: veryveryremotesite.com
|
| 47 | User-Agent: curl/%VERSION
|
| 48 | Accept: */*
|
| 49 | Proxy-Connection: Keep-Alive
|
| 50 |
|
| 51 | </protocol> |
| 52 | </verify> |
| 53 | </testcase> |