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