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 | cookies |
| 8 | cookiejar |
| 9 | </keywords> |
| 10 | </info> |
| 11 | # |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | <data1> |
| 15 | HTTP/1.1 200 OK |
| 16 | Date: Tue, 09 Nov 2010 14:49:00 GMT |
| 17 | Content-Length: 6 |
| 18 | Connection: close |
| 19 | Content-Type: text/html |
| 20 | Set-Cookie: time=1 |
| 21 | |
| 22 | -foo- |
| 23 | </data1> |
| 24 | <data2> |
| 25 | HTTP/1.1 200 OK |
| 26 | Date: Tue, 09 Nov 2010 14:49:00 GMT |
| 27 | Content-Length: 6 |
| 28 | Connection: close |
| 29 | Content-Type: text/html |
| 30 | Set-Cookie: time=2 |
| 31 | |
| 32 | -foo- |
| 33 | </data2> |
| 34 | |
| 35 | |
| 36 | </reply> |
| 37 | |
| 38 | # |
| 39 | # Client-side |
| 40 | <client> |
| 41 | <features> |
| 42 | ipv6 |
| 43 | </features> |
| 44 | <server> |
| 45 | http-ipv6 |
| 46 | </server> |
| 47 | <name> |
| 48 | HTTP receive cookies over IPV6 |
| 49 | </name> |
| 50 | <command> |
| 51 | -c log/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0002 |
| 52 | </command> |
| 53 | </client> |
| 54 | |
| 55 | # |
| 56 | # Verify data after the test has been "shot" |
| 57 | <verify> |
| 58 | <protocol> |
| 59 | GET /path/%TESTNUMBER0001 HTTP/1.1
|
| 60 | Host: %HOST6IP:%HTTP6PORT
|
| 61 | User-Agent: curl/%VERSION
|
| 62 | Accept: */*
|
| 63 |
|
| 64 | GET /path/%TESTNUMBER0002 HTTP/1.1
|
| 65 | Host: %HOST6IP:%HTTP6PORT
|
| 66 | User-Agent: curl/%VERSION
|
| 67 | Accept: */*
|
| 68 | Cookie: time=1
|
| 69 |
|
| 70 | </protocol> |
| 71 | </verify> |
| 72 | </testcase> |