test82 904 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 407 We only deal with NTLM my friend
  5. Server: Microsoft-IIS/5.0
  6. Content-Type: text/html; charset=iso-8859-1
  7. Content-Length: 34
  8. Proxy-Authenticate: NTLM
  9. This is not the real page either!
  10. </data>
  11. </reply>
  12. # Client-side
  13. <client>
  14. <features>
  15. </features>
  16. <server>
  17. http
  18. </server>
  19. <name>
  20. HTTP with proxy requiring NTLM, but we send Basic
  21. </name>
  22. <command>
  23. http://%HOSTIP:%HOSTPORT/82 --proxy-user testuser:testpass -x http://%HOSTIP:%HOSTPORT
  24. </command>
  25. </test>
  26. # Verify data after the test has been "shot"
  27. <verify>
  28. <strip>
  29. ^User-Agent:.*
  30. </strip>
  31. <protocol>
  32. GET http://127.0.0.1:8999/82 HTTP/1.1
  33. Proxy-authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
  34. User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
  35. Host: 127.0.0.1:8999
  36. Pragma: no-cache
  37. Accept: */*
  38. </protocol>
  39. </verify>