test214 716 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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: Tue, 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/\{\}\/%TESTNUMBER"
  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. <protocol>
  41. GET /{}\/%TESTNUMBER HTTP/1.1
  42. Host: %HOSTIP:%HTTPPORT
  43. User-Agent: curl/%VERSION
  44. Accept: */*
  45. </protocol>
  46. </verify>
  47. </testcase>