test1109 597 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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>
  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/%TESTNUMBER#test
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <protocol>
  32. GET /%TESTNUMBER HTTP/1.1
  33. Host: %HOSTIP:%HTTPPORT
  34. User-Agent: curl/%VERSION
  35. Accept: */*
  36. </protocol>
  37. </verify>
  38. </testcase>