test241 700 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. IPv6
  7. IPv6-hostname
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data>
  14. HTTP/1.1 200 OK
  15. Date: Thu, 09 Nov 2010 14:49:00 GMT
  16. Server: test-server/fake
  17. Content-Length: 6
  18. hello
  19. </data>
  20. </reply>
  21. #
  22. # Client-side
  23. <client>
  24. <features>
  25. ipv6
  26. </features>
  27. <server>
  28. http-ipv6
  29. </server>
  30. <name>
  31. HTTP-IPv6 GET (using ip6-localhost)
  32. </name>
  33. <command>
  34. -g "http://ip6-localhost:%HTTP6PORT/241"
  35. </command>
  36. <precheck>
  37. ./server/resolve --ipv6 ip6-localhost
  38. </precheck>
  39. </client>
  40. #
  41. # Verify data after the test has been "shot"
  42. <verify>
  43. <strip>
  44. ^User-Agent:
  45. </strip>
  46. <protocol>
  47. GET /241 HTTP/1.1
  48. Host: ip6-localhost:%HTTP6PORT
  49. Accept: */*
  50. </protocol>
  51. </verify>
  52. </testcase>