test1940 1021 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <testcase>
  2. <info>
  3. <keywords>
  4. curl_easy_header
  5. </keywords>
  6. </info>
  7. # Server-side
  8. <reply>
  9. <data nocheck="yes">
  10. HTTP/1.1 200 OK
  11. Date: Thu, 09 Nov 2010 14:49:00 GMT
  12. Server: test with trailing space
  13. Content-Type: text/html
  14. Fold: is
  15. folding a
  16. line
  17. Content-Length: 0
  18. Set-Cookie: onecookie=data;
  19. Set-Cookie: secondcookie=2data;
  20. Set-Cookie: cookie3=data3;
  21. Location: /%TESTNUMBER0002
  22. </data>
  23. </reply>
  24. # Client-side
  25. <client>
  26. <features>
  27. headers-api
  28. </features>
  29. <server>
  30. http
  31. </server>
  32. <name>
  33. curl_easy_header
  34. </name>
  35. <tool>
  36. lib%TESTNUMBER
  37. </tool>
  38. <command>
  39. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  40. </command>
  41. </client>
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <stdout>
  45. Date == Thu, 09 Nov 2010 14:49:00 GMT
  46. Server == test with trailing space
  47. Content-Type == text/html
  48. Content-Length == 0
  49. Location == /%TESTNUMBER0002
  50. - Set-Cookie == onecookie=data; (0/3)
  51. - Set-Cookie == secondcookie=2data; (1/3)
  52. - Set-Cookie == cookie3=data3; (2/3)
  53. Fold == is folding a line
  54. </stdout>
  55. </verify>
  56. </testcase>