test94 756 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #
  2. # Server-side
  3. <reply>
  4. <data nocheck=1>
  5. HTTP/1.1 407 Needs proxy authentication
  6. Server: test-server/fake swsclose yesyes
  7. Proxy-Authenticate: Basic "oh please"
  8. Connection: close
  9. bing
  10. </data>
  11. </reply>
  12. #
  13. # Client-side
  14. <client>
  15. <server>
  16. http
  17. </server>
  18. <features>
  19. SSL
  20. </features>
  21. <name>
  22. HTTPS GET with failed proxy auth
  23. </name>
  24. <command>
  25. https://test.anything.really.com:94 -x %HOSTIP:%HOSTPORT
  26. </command>
  27. </client>
  28. #
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <errorcode>
  32. 56
  33. </errorcode>
  34. <strip>
  35. ^User-Agent:.*
  36. </strip>
  37. <protocol>
  38. CONNECT test.anything.really.com:94 HTTP/1.0
  39. User-Agent: curl/7.11.0-CVS (i686-pc-linux-gnu) libcurl/7.11.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4
  40. </protocol>
  41. </verify>