test214 542 B

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