test302 632 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTPS
  5. HTTP GET
  6. HTTP CONNECT
  7. HTTP proxy
  8. FAILURE
  9. </keywords>
  10. </info>
  11. # Server-side
  12. <reply>
  13. <connect nocheck="yes">
  14. HTTP/1.1 405 Method Not Allowed swsclose
  15. And you should ignore this data.
  16. </connect>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <features>
  21. SSL
  22. </features>
  23. <server>
  24. https
  25. </server>
  26. <name>
  27. HTTPS GET over HTTP proxy fails
  28. </name>
  29. <command>
  30. -k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:302/slash/302
  31. </command>
  32. </client>
  33. #
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <errorcode>
  37. 56
  38. </errorcode>
  39. <strip>
  40. ^User-Agent:.*
  41. </strip>
  42. <data>
  43. </data>
  44. </verify>
  45. </testcase>