| lh | 9ed821d | 2023-04-07 01:36:19 -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 | </features> | ||||
| 41 | <server> | ||||
| 42 | https | ||||
| 43 | </server> | ||||
| 44 | <name> | ||||
| 45 | HTTPS GET, receive no headers only data! | ||||
| 46 | </name> | ||||
| 47 | <command> | ||||
| 48 | -k https://%HOSTIP:%HTTPSPORT/306 | ||||
| 49 | </command> | ||||
| 50 | </client> | ||||
| 51 | |||||
| 52 | # | ||||
| 53 | # Verify data after the test has been "shot" | ||||
| 54 | <verify> | ||||
| 55 | <strip> | ||||
| 56 | ^User-Agent:.* | ||||
| 57 | </strip> | ||||
| 58 | <protocol> | ||||
| 59 | GET /306 HTTP/1.1 | ||||
| 60 | Host: %HOSTIP:%HTTPSPORT | ||||
| 61 | Accept: */* | ||||
| 62 | |||||
| 63 | </protocol> | ||||
| 64 | </verify> | ||||
| 65 | </testcase> | ||||