curl/tests/data/test305
raw| 1 | # Server-side |
| 2 | <reply> |
| 3 | <data> |
| 4 | </data> |
| 5 | </reply> |
| 6 | |
| 7 | # Client-side |
| 8 | <client> |
| 9 | <features> |
| 10 | SSL |
| 11 | </features> |
| 12 | <server> |
| 13 | https |
| 14 | </server> |
| 15 | <name> |
| 16 | insecure HTTPS without permission |
| 17 | </name> |
| 18 | <command> |
| 19 | https://%HOSTIP:%HTTPSPORT/want/305 --cacert moooo |
| 20 | </command> |
| 21 | </client> |
| 22 | |
| 23 | # Verify data after the test has been "shot" |
| 24 | <verify> |
| 25 | <strip> |
| 26 | ^User-Agent:.* |
| 27 | </strip> |
| 28 | <protocol> |
| 29 | </protocol> |
| 30 | <errorcode> |
| 31 | 60 |
| 32 | </errorcode> |
| 33 | </verify> |