2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2008-09-30 06:44:04 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP POST
|
|
|
|
HTTP proxy
|
|
|
|
HTTP proxy NTLM auth
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2004-05-19 18:31:58 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
2004-05-19 19:25:21 +08:00
|
|
|
<features>
|
2005-03-21 16:14:32 +08:00
|
|
|
NTLM
|
2013-12-29 04:22:22 +08:00
|
|
|
!SSPI
|
2004-05-19 19:25:21 +08:00
|
|
|
</features>
|
2004-05-19 18:31:58 +08:00
|
|
|
<name>
|
|
|
|
HTTP POST with --proxy-ntlm and no SSL with no response
|
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 16:08:38 +08:00
|
|
|
http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
|
2004-05-19 18:31:58 +08:00
|
|
|
</command>
|
2005-01-26 05:45:03 +08:00
|
|
|
</client>
|
2004-05-19 18:31:58 +08:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent: curl/.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
2004-11-25 00:11:35 +08:00
|
|
|
POST http://a.galaxy.far.far.away/170 HTTP/1.1
|
2015-03-12 07:50:46 +08:00
|
|
|
Host: a.galaxy.far.far.away
|
2006-06-07 22:14:04 +08:00
|
|
|
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
2004-05-19 18:31:58 +08:00
|
|
|
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
|
|
|
|
Accept: */*
|
2005-05-11 17:52:59 +08:00
|
|
|
Proxy-Connection: Keep-Alive
|
2004-11-25 00:11:35 +08:00
|
|
|
Content-Length: 0
|
2004-05-19 18:31:58 +08:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
# 52 is CURLE_GOT_NOTHING
|
|
|
|
<errorcode>
|
|
|
|
52
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|