test180 730 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <testcase>
  2. <reply>
  3. <data>
  4. HTTP/1.0 200 OK swsclose
  5. Date: Thu, 09 Nov 2010 14:49:00 GMT
  6. Server: test-server/fake
  7. blablabla
  8. </data>
  9. </reply>
  10. # Client-side
  11. <client>
  12. <server>
  13. http
  14. </server>
  15. <name>
  16. HTTP 1.0 PUT
  17. </name>
  18. <command>
  19. http://%HOSTIP:%HTTPPORT/we/want/180 -T log/test180.txt --http1.0
  20. </command>
  21. <file name="log/test180.txt">
  22. Weird
  23. file
  24. to
  25. upload
  26. for
  27. testing
  28. the
  29. PUT
  30. feature
  31. </file>
  32. </client>
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <strip>
  36. ^User-Agent:.*
  37. </strip>
  38. <protocol>
  39. PUT /we/want/180 HTTP/1.0
  40. Host: %HOSTIP:%HTTPPORT
  41. Accept: */*
  42. Content-Length: 78
  43. Weird
  44. file
  45. to
  46. upload
  47. for
  48. testing
  49. the
  50. PUT
  51. feature
  52. </protocol>
  53. </verify>
  54. </testcase>