aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-19 10:31:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-19 10:31:58 +0000
commit91601b3bf47c48a11d3ee443bdcee022ce687a1d (patch)
tree6ffeca8260755a981a9eb6bd2cbf0fb07779228b /tests/data
parentcdd70596df3c85b07c54ea48f0e6a31127bdedba (diff)
David Byron's test case with -F that used to crash
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test17036
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/data/test170 b/tests/data/test170
new file mode 100644
index 000000000..4d23e6108
--- /dev/null
+++ b/tests/data/test170
@@ -0,0 +1,36 @@
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+<server>
+http
+</server>
+ <name>
+HTTP POST with --proxy-ntlm and no SSL with no response
+ </name>
+ <command>
+http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HOSTPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent: curl/.*
+</strip>
+<protocol>
+HEAD http://a.galaxy.far.far.away/170 HTTP/1.1
+Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
+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: */*
+
+</protocol>
+# 52 is CURLE_GOT_NOTHING
+<errorcode>
+52
+</errorcode>
+</verify>