test170 949 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. !SSPI
  21. </features>
  22. <name>
  23. HTTP POST with --proxy-ntlm and no SSL with no response
  24. </name>
  25. <command>
  26. http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <strip>
  32. ^User-Agent: curl/.*
  33. </strip>
  34. <protocol>
  35. POST http://a.galaxy.far.far.away/170 HTTP/1.1
  36. Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
  37. 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
  38. Host: a.galaxy.far.far.away
  39. Accept: */*
  40. Proxy-Connection: Keep-Alive
  41. Content-Length: 0
  42. </protocol>
  43. # 52 is CURLE_GOT_NOTHING
  44. <errorcode>
  45. 52
  46. </errorcode>
  47. </verify>
  48. </testcase>