xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTPS |
| 5 | HTTP GET |
| 6 | </keywords> |
| 7 | </info> |
| 8 | |
| 9 | # |
| 10 | # Server-side |
| 11 | <reply> |
| 12 | <data> |
| 13 | No headers at all, just data swsclose |
| 14 | |
| 15 | Let's get |
| 16 | |
| 17 | a little |
| 18 | |
| 19 | so that |
| 20 | |
| 21 | we |
| 22 | |
| 23 | have |
| 24 | |
| 25 | some |
| 26 | |
| 27 | test |
| 28 | |
| 29 | data to |
| 30 | |
| 31 | verify |
| 32 | </data> |
| 33 | </reply> |
| 34 | |
| 35 | # |
| 36 | # Client-side |
| 37 | <client> |
| 38 | <features> |
| 39 | SSL |
| 40 | !hyper |
| 41 | </features> |
| 42 | <server> |
| 43 | https |
| 44 | </server> |
| 45 | <name> |
| 46 | HTTPS GET, receive no headers only data! |
| 47 | </name> |
| 48 | <command> |
| 49 | -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER --http0.9 |
| 50 | </command> |
| 51 | </client> |
| 52 | |
| 53 | # |
| 54 | # Verify data after the test has been "shot" |
| 55 | <verify> |
| 56 | <protocol> |
| 57 | GET /%TESTNUMBER HTTP/1.1
|
| 58 | Host: %HOSTIP:%HTTPSPORT
|
| 59 | User-Agent: curl/%VERSION
|
| 60 | Accept: */*
|
| 61 |
|
| 62 | </protocol> |
| 63 | </verify> |
| 64 | </testcase> |