test1240 609 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. globbing
  5. HTTP
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data>
  11. HTTP/1.1 200 OK
  12. Content-Length: 6
  13. Connection: close
  14. -foo-
  15. </data>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. http
  21. </server>
  22. <name>
  23. glob [0-1] with stuff after range (7.33.0 regression)
  24. </name>
  25. <command>
  26. "%HOSTIP:%HTTPPORT/0[0-1]/1240"
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <strip>
  32. ^User-Agent:.*
  33. </strip>
  34. <protocol>
  35. GET /00/1240 HTTP/1.1
  36. Host: %HOSTIP:%HTTPPORT
  37. Accept: */*
  38. GET /01/1240 HTTP/1.1
  39. Host: %HOSTIP:%HTTPPORT
  40. Accept: */*
  41. </protocol>
  42. </verify>
  43. </testcase>