lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP CONNECT |
| 6 | HTTP proxy |
| 7 | IPv6 |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | |
| 15 | <data> |
| 16 | HTTP/1.1 200 OK
|
| 17 | Date: Thu, 09 Nov 2010 14:49:00 GMT
|
| 18 | Content-Length: 9
|
| 19 | |
| 20 | mooooooo |
| 21 | </data> |
| 22 | |
| 23 | <connect> |
| 24 | HTTP/1.1 200 welcome dear
|
| 25 | Date: Thu, 09 Nov 2010 14:49:00 GMT
|
| 26 |
|
| 27 | </connect> |
| 28 | |
| 29 | <datacheck> |
| 30 | HTTP/1.1 200 welcome dear
|
| 31 | Date: Thu, 09 Nov 2010 14:49:00 GMT
|
| 32 |
|
| 33 | HTTP/1.1 200 OK
|
| 34 | Date: Thu, 09 Nov 2010 14:49:00 GMT
|
| 35 | Content-Length: 9
|
| 36 | |
| 37 | mooooooo |
| 38 | </datacheck> |
| 39 | </reply> |
| 40 | |
| 41 | # |
| 42 | # Client-side |
| 43 | <client> |
| 44 | <features> |
| 45 | ipv6 |
| 46 | </features> |
| 47 | <server> |
| 48 | http-proxy |
| 49 | http-ipv6 |
| 50 | http |
| 51 | </server> |
| 52 | <name> |
| 53 | HTTP CONNECT to IPv6 numerical address |
| 54 | </name> |
| 55 | # 0x4ce == 1230, the test number |
| 56 | <command> |
| 57 | http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/1230 -p -x %HOSTIP:%HTTPPORT |
| 58 | </command> |
| 59 | </client> |
| 60 | |
| 61 | # |
| 62 | # Verify data after the test has been "shot" |
| 63 | <verify> |
| 64 | <strip> |
| 65 | ^User-Agent:.* |
| 66 | </strip> |
| 67 | <protocol> |
| 68 | CONNECT [1234:1234:1234::4ce]:%HTTPPORT HTTP/1.1
|
| 69 | Host: [1234:1234:1234::4ce]:%HTTPPORT
|
| 70 | Proxy-Connection: Keep-Alive
|
| 71 |
|
| 72 | GET /wanted/page/1230 HTTP/1.1
|
| 73 | Host: [1234:1234:1234::4ce]:%HTTPPORT
|
| 74 | Accept: */*
|
| 75 |
|
| 76 | </protocol> |
| 77 | </verify> |
| 78 | </testcase> |