test1033 847 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <testcase>
  2. #
  3. # This case with an unexpected 1xx response used to cause a "hang" before the fix
  4. # got 7.19.0
  5. <info>
  6. <keywords>
  7. HTTP
  8. HTTP GET
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <data>
  15. HTTP/1.1 102 unexpected huh?!
  16. HTTP/1.1 200 OK
  17. Date: Thu, 09 Nov 2010 14:49:00 GMT
  18. Server: test-server/fake
  19. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  20. ETag: "21025-dc7-39462498"
  21. Accept-Ranges: bytes
  22. Content-Length: 6
  23. Connection: close
  24. Content-Type: text/html
  25. Funny-head: yesyes
  26. -foo-
  27. </data>
  28. </reply>
  29. #
  30. # Client-side
  31. <client>
  32. <server>
  33. http
  34. </server>
  35. <name>
  36. HTTP GET with 102 response!
  37. </name>
  38. <command>
  39. http://%HOSTIP:%HTTPPORT/1033
  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. GET /1033 HTTP/1.1
  50. Host: %HOSTIP:%HTTPPORT
  51. Accept: */*
  52. </protocol>
  53. </verify>
  54. </testcase>