2
0

test434 560 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. --config
  6. </keywords>
  7. </info>
  8. #
  9. <reply>
  10. <data>
  11. HTTP/1.1 200 OK
  12. Content-Length: 6
  13. Content-Type: text/1
  14. -foo-
  15. </data>
  16. </reply>
  17. #
  18. <client>
  19. <file name="%LOGDIR/config%TESTNUMBER" nonewline="yes">
  20. url = %HOSTIP:%HTTPPORT/%TESTNUMBER
  21. </file>
  22. <server>
  23. http
  24. </server>
  25. <name>
  26. -K with a single line without newline
  27. </name>
  28. <command>
  29. -K %LOGDIR/config%TESTNUMBER
  30. </command>
  31. </client>
  32. #
  33. <verify>
  34. <protocol>
  35. GET /%TESTNUMBER HTTP/1.1
  36. Host: %HOSTIP:%HTTPPORT
  37. User-Agent: curl/%VERSION
  38. Accept: */*
  39. </protocol>
  40. </verify>
  41. </testcase>