test1456 856 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. IPv6
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data nocheck=yes>
  13. HTTP/1.1 200 OK
  14. Date: Thu, 09 Nov 2010 14:49:00 GMT
  15. Server: test-server/fake
  16. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  17. ETag: "21025-dc7-39462498"
  18. Accept-Ranges: bytes
  19. Content-Length: 6
  20. Connection: close
  21. Content-Type: text/html
  22. Funny-head: yesyes
  23. -foo-
  24. </data>
  25. </reply>
  26. #
  27. # Client-side
  28. <client>
  29. <features>
  30. ipv6
  31. </features>
  32. <server>
  33. http-ipv6
  34. </server>
  35. <name>
  36. HTTP-IPv6 GET with PROXY protocol
  37. </name>
  38. <command>
  39. -g "http://%HOST6IP:%HTTP6PORT/1456" --local-port 44444 --haproxy-protocol
  40. </command>
  41. </client>
  42. #
  43. # Verify data after the test has been "shot"
  44. <verify>
  45. <strip>
  46. ^User-Agent:
  47. </strip>
  48. <protocol>
  49. PROXY TCP6 ::1 ::1 44444 %HTTP6PORT
  50. GET /1456 HTTP/1.1
  51. Host: %HOST6IP:%HTTP6PORT
  52. Accept: */*
  53. </protocol>
  54. </verify>
  55. </testcase>