test1290 589 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. globbing
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data>
  13. HTTP/1.1 200 OK
  14. Content-Length: 6
  15. Connection: close
  16. Content-Type: text/html
  17. -foo-
  18. </data>
  19. </reply>
  20. # Client-side
  21. <client>
  22. <server>
  23. http
  24. </server>
  25. <name>
  26. Verify URL globbing ignores []
  27. </name>
  28. <command>
  29. "http://%HOSTIP:%HTTPPORT/we/want/[]/page/%TESTNUMBER"
  30. </command>
  31. </client>
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <protocol>
  35. GET /we/want/[]/page/%TESTNUMBER HTTP/1.1
  36. Host: %HOSTIP:%HTTPPORT
  37. User-Agent: curl/%VERSION
  38. Accept: */*
  39. </protocol>
  40. </verify>
  41. </testcase>