xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTPS |
| 5 | HTTP GET |
| 6 | HTTP CONNECT |
| 7 | HTTP proxy |
| 8 | FAILURE |
| 9 | </keywords> |
| 10 | </info> |
| 11 | |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | |
| 15 | <connect nocheck="yes"> |
| 16 | HTTP/1.1 405 Method Not Allowed swsclose
|
| 17 |
|
| 18 | And you should ignore this data. |
| 19 | </connect> |
| 20 | |
| 21 | </reply> |
| 22 | |
| 23 | # Client-side |
| 24 | <client> |
| 25 | <features> |
| 26 | SSL |
| 27 | proxy |
| 28 | </features> |
| 29 | <server> |
| 30 | https |
| 31 | </server> |
| 32 | <name> |
| 33 | HTTPS GET over HTTP proxy fails |
| 34 | </name> |
| 35 | <command> |
| 36 | -k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:%TESTNUMBER/slash/%TESTNUMBER |
| 37 | </command> |
| 38 | </client> |
| 39 | |
| 40 | # |
| 41 | # Verify data after the test has been "shot" |
| 42 | <verify> |
| 43 | <errorcode> |
| 44 | 56 |
| 45 | </errorcode> |
| 46 | <data> |
| 47 | </data> |
| 48 | </verify> |
| 49 | </testcase> |