test214 710 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.1 200 OK
  13. Date: Thu, 09 Nov 2010 14:49:00 GMT
  14. Content-Length: 6
  15. Content-Type: text/html
  16. Funny-head: yesyes
  17. -foo-
  18. </data>
  19. </reply>
  20. #
  21. # Client-side
  22. <client>
  23. <server>
  24. http
  25. </server>
  26. <name>
  27. HTTP URL with escaped { and }
  28. </name>
  29. <command>
  30. "http://%HOSTIP:%HTTPPORT/\{\}\/214"
  31. </command>
  32. <setenv>
  33. # Needed for MSYS2 to not convert all backslashes to forward slashes
  34. MSYS2_ARG_CONV_EXCL=http://
  35. </setenv>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <strip>
  41. ^User-Agent:.*
  42. </strip>
  43. <protocol>
  44. GET /{}\/214 HTTP/1.1
  45. Host: %HOSTIP:%HTTPPORT
  46. Accept: */*
  47. </protocol>
  48. </verify>
  49. </testcase>