test1435 595 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. unix sockets
  7. </keywords>
  8. </info>
  9. <reply>
  10. <data>
  11. HTTP/1.1 200 OK
  12. Date: Sun, 16 Nov 2014 23:47:38 GMT
  13. Content-Length: 17
  14. Based on test300
  15. </data>
  16. </reply>
  17. <client>
  18. <features>
  19. unix-sockets
  20. </features>
  21. <server>
  22. http-unix
  23. </server>
  24. <name>
  25. simple HTTP GET over Unix socket
  26. </name>
  27. <command>
  28. --unix-socket %HTTPUNIXPATH http://server-interpreted.example.com/%TESTNUMBER
  29. </command>
  30. </client>
  31. <verify>
  32. <protocol>
  33. GET /%TESTNUMBER HTTP/1.1
  34. Host: server-interpreted.example.com
  35. User-Agent: curl/%VERSION
  36. Accept: */*
  37. </protocol>
  38. </verify>
  39. </testcase>