lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP POST |
| 6 | HTTP proxy |
| 7 | HTTP proxy NTLM auth |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | </reply> |
| 14 | |
| 15 | # Client-side |
| 16 | <client> |
| 17 | <server> |
| 18 | http |
| 19 | </server> |
| 20 | <features> |
| 21 | NTLM |
| 22 | !SSPI |
| 23 | </features> |
| 24 | <name> |
| 25 | HTTP POST with --proxy-ntlm and no SSL with no response |
| 26 | </name> |
| 27 | <command> |
| 28 | http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value" |
| 29 | </command> |
| 30 | </client> |
| 31 | |
| 32 | # Verify data after the test has been "shot" |
| 33 | <verify> |
| 34 | <strip> |
| 35 | ^User-Agent: curl/.* |
| 36 | </strip> |
| 37 | <protocol> |
| 38 | POST http://a.galaxy.far.far.away/170 HTTP/1.1
|
| 39 | Host: a.galaxy.far.far.away
|
| 40 | Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
| 41 | User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 libidn/0.4.3
|
| 42 | Accept: */*
|
| 43 | Proxy-Connection: Keep-Alive
|
| 44 | Content-Length: 0
|
| 45 |
|
| 46 | </protocol> |
| 47 | # 52 is CURLE_GOT_NOTHING |
| 48 | <errorcode> |
| 49 | 52 |
| 50 | </errorcode> |
| 51 | </verify> |
| 52 | </testcase> |