test1109 602 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. # Test that the fragment is not send as part of the path.
  3. <info>
  4. <keywords>
  5. HTTP
  6. CURLOPT_URL
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply name="1">
  11. <data>
  12. HTTP/1.1 200 OK
  13. Content-Length: 6
  14. hello
  15. </data>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. http
  21. </server>
  22. <name>
  23. HTTP GET with URL that contains fragment after the path
  24. </name>
  25. <command>
  26. http://%HOSTIP:%HTTPPORT/1109#test
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <strip>
  32. ^User-Agent:.*
  33. </strip>
  34. <protocol>
  35. GET /1109 HTTP/1.1
  36. Host: %HOSTIP:%HTTPPORT
  37. Accept: */*
  38. </protocol>
  39. </verify>
  40. </testcase>