2
0

test170 943 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP POST
  6. HTTP proxy
  7. HTTP proxy NTLM auth
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. </reply>
  13. # Client-side
  14. <client>
  15. <server>
  16. http
  17. </server>
  18. <features>
  19. NTLM
  20. </features>
  21. <name>
  22. HTTP POST with --proxy-ntlm and no SSL with no response
  23. </name>
  24. <command>
  25. http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
  26. </command>
  27. </client>
  28. # Verify data after the test has been "shot"
  29. <verify>
  30. <strip>
  31. ^User-Agent: curl/.*
  32. </strip>
  33. <protocol>
  34. POST http://a.galaxy.far.far.away/170 HTTP/1.1
  35. Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
  36. 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
  37. Host: a.galaxy.far.far.away
  38. Accept: */*
  39. Proxy-Connection: Keep-Alive
  40. Content-Length: 0
  41. </protocol>
  42. # 52 is CURLE_GOT_NOTHING
  43. <errorcode>
  44. 52
  45. </errorcode>
  46. </verify>
  47. </testcase>