test1943 933 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <testcase>
  2. <info>
  3. <keywords>
  4. curl_easy_header
  5. CONNECT
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data nocheck="yes">
  11. HTTP/1.1 200 funky chunky!
  12. Server: fakeit/0.9 fakeitbad/1.0
  13. Date: Thu, 09 Nov 2010 14:49:00 GMT
  14. Transfer-Encoding: chunked
  15. Trailer: server
  16. Connection: mooo
  17. 40
  18. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  19. 30
  20. bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  21. 21;heresatest=moooo
  22. cccccccccccccccccccccccccccccccc
  23. 0
  24. Server: sent-as-trailer
  25. </data>
  26. </reply>
  27. # Client-side
  28. <client>
  29. <features>
  30. http
  31. headers-api
  32. </features>
  33. <server>
  34. http
  35. </server>
  36. <name>
  37. curl_easy_header with trailers
  38. </name>
  39. <tool>
  40. lib1940
  41. </tool>
  42. <command>
  43. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  44. </command>
  45. </client>
  46. # Verify data after the test has been "shot"
  47. <verify>
  48. <stdout>
  49. Date == Thu, 09 Nov 2010 14:49:00 GMT
  50. Server == fakeit/0.9 fakeitbad/1.0
  51. Server == sent-as-trailer
  52. </stdout>
  53. </verify>
  54. </testcase>