xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | globbing |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | <data> |
| 12 | HTTP/1.1 200 OK
|
| 13 | Date: Tue, 09 Nov 2010 14:49:00 GMT
|
| 14 | Content-Length: 6
|
| 15 | Connection: close
|
| 16 |
|
| 17 | bytes |
| 18 | </data> |
| 19 | </reply> |
| 20 | |
| 21 | # Client-side |
| 22 | <client> |
| 23 | <server> |
| 24 | http |
| 25 | </server> |
| 26 | <name> |
| 27 | simple [a-d] globbing |
| 28 | </name> |
| 29 | <command> |
| 30 | http://%HOSTIP:%HTTPPORT/[a-d]/%TESTNUMBER |
| 31 | </command> |
| 32 | </client> |
| 33 | |
| 34 | # Verify data after the test has been "shot" |
| 35 | <verify> |
| 36 | <protocol> |
| 37 | GET /a/%TESTNUMBER HTTP/1.1
|
| 38 | Host: %HOSTIP:%HTTPPORT
|
| 39 | User-Agent: curl/%VERSION
|
| 40 | Accept: */*
|
| 41 |
|
| 42 | GET /b/%TESTNUMBER HTTP/1.1
|
| 43 | Host: %HOSTIP:%HTTPPORT
|
| 44 | User-Agent: curl/%VERSION
|
| 45 | Accept: */*
|
| 46 |
|
| 47 | GET /c/%TESTNUMBER HTTP/1.1
|
| 48 | Host: %HOSTIP:%HTTPPORT
|
| 49 | User-Agent: curl/%VERSION
|
| 50 | Accept: */*
|
| 51 |
|
| 52 | GET /d/%TESTNUMBER HTTP/1.1
|
| 53 | Host: %HOSTIP:%HTTPPORT
|
| 54 | User-Agent: curl/%VERSION
|
| 55 | Accept: */*
|
| 56 |
|
| 57 | </protocol> |
| 58 | </verify> |
| 59 | </testcase> |