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