test658 687 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. CURLOPT_CURLU
  7. </keywords>
  8. </info>
  9. <reply>
  10. <data nocheck="yes">
  11. HTTP/1.1 200 OK
  12. Date: Tue, 09 Nov 2010 14:49:00 GMT
  13. Server: test-server/fake
  14. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  15. ETag: "21025-dc7-39462498"
  16. Accept-Ranges: bytes
  17. Content-Length: 6
  18. Connection: close
  19. Content-Type: text/html
  20. Funny-head: yesyes
  21. -foo-
  22. </data>
  23. </reply>
  24. <client>
  25. <server>
  26. http
  27. </server>
  28. <tool>
  29. lib%TESTNUMBER
  30. </tool>
  31. <name>
  32. Pass URL to libcurl with CURLOPT_CURLU
  33. </name>
  34. <command>
  35. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  36. </command>
  37. </client>
  38. <verify>
  39. <protocol>
  40. GET /%TESTNUMBER HTTP/1.1
  41. Host: %HOSTIP:%HTTPPORT
  42. Accept: */*
  43. </protocol>
  44. </verify>
  45. </testcase>