test94 843 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTPS
  5. HTTP GET
  6. HTTP CONNECT
  7. HTTP proxy
  8. FAILURE
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <connect nocheck="yes">
  15. HTTP/1.1 407 Needs proxy authentication
  16. Server: test-server/fake swsclose yesyes
  17. Proxy-Authenticate: Basic "oh please"
  18. Connection: close
  19. bing
  20. </connect>
  21. </reply>
  22. #
  23. # Client-side
  24. <client>
  25. <server>
  26. http
  27. </server>
  28. <features>
  29. SSL
  30. proxy
  31. </features>
  32. <name>
  33. HTTPS GET with failed proxy auth (CONNECT 1.0)
  34. </name>
  35. <command>
  36. https://test.anything.really.com:%TESTNUMBER --proxy1.0 %HOSTIP:%HTTPPORT
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <errorcode>
  43. 56
  44. </errorcode>
  45. <protocol>
  46. CONNECT test.anything.really.com:%TESTNUMBER HTTP/1.0
  47. Host: test.anything.really.com:%TESTNUMBER
  48. User-Agent: curl/%VERSION
  49. Proxy-Connection: Keep-Alive
  50. </protocol>
  51. </verify>
  52. </testcase>