lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP GET |
| 6 | globbing |
| 7 | [] range |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | <data nocheck="yes"> |
| 15 | HTTP/1.1 200 OK
|
| 16 | Date: Thu, 09 Nov 2010 14:49:00 GMT
|
| 17 | Content-Length: 6
|
| 18 | Connection: close
|
| 19 |
|
| 20 | bytes |
| 21 | </data> |
| 22 | </reply> |
| 23 | |
| 24 | # Client-side |
| 25 | <client> |
| 26 | <server> |
| 27 | http |
| 28 | </server> |
| 29 | <name> |
| 30 | globbing range with same start and stop |
| 31 | </name> |
| 32 | <command option="no-output"> |
| 33 | http://%HOSTIP:%HTTPPORT/[a-a][1-1][b-b:1][2-2:1]/1283 -o "log/outfile1283_#1#2#3#4.dump" |
| 34 | </command> |
| 35 | </client> |
| 36 | |
| 37 | # Verify data after the test has been "shot" |
| 38 | <verify> |
| 39 | <strip> |
| 40 | ^User-Agent:.* |
| 41 | </strip> |
| 42 | <protocol> |
| 43 | GET /a1b2/1283 HTTP/1.1
|
| 44 | Host: %HOSTIP:%HTTPPORT
|
| 45 | Accept: */*
|
| 46 |
|
| 47 | </protocol> |
| 48 | <file name="log/outfile1283_a1b2.dump"> |
| 49 | HTTP/1.1 200 OK
|
| 50 | Date: Thu, 09 Nov 2010 14:49:00 GMT
|
| 51 | Content-Length: 6
|
| 52 | Connection: close
|
| 53 |
|
| 54 | bytes |
| 55 | </file> |
| 56 | </verify> |
| 57 | </testcase> |