test158 950 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. # Server-side
  3. <reply>
  4. <data>
  5. HTTP/1.1 100 Continue swsclose
  6. Silly-header: yeeeees
  7. </data>
  8. </reply>
  9. # Client-side
  10. <client>
  11. <server>
  12. http
  13. </server>
  14. <name>
  15. HTTP multipart formpost with only a 100 reply
  16. </name>
  17. <command>
  18. http://%HOSTIP:%HTTPPORT/158 -F name=daniel
  19. </command>
  20. </client>
  21. # Verify data after the test has been "shot"
  22. <verify>
  23. <strip>
  24. ^User-Agent:.*
  25. ^Content-Type: multipart/form-data.*
  26. ^---------------------------.*
  27. </strip>
  28. <protocol>
  29. POST /158 HTTP/1.1
  30. User-Agent: curl/7.11.2-CVS (i686-pc-linux-gnu) libcurl/7.11.2-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS
  31. Host: %HOSTIP:%HTTPPORT
  32. Accept: */*
  33. Content-Length: 145
  34. Expect: 100-continue
  35. Content-Type: multipart/form-data; boundary=----------------------------4f12fcdaa3bc
  36. ------------------------------4f12fcdaa3bc
  37. Content-Disposition: form-data; name="name"
  38. daniel
  39. ------------------------------4f12fcdaa3bc--
  40. </protocol>
  41. <errorcode>
  42. 52
  43. </errorcode>
  44. </verify>
  45. </testcase>