test58 693 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Server-side
  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 PUT from file with weird letters
  17. </name>
  18. <command>
  19. http://%HOSTIP:%HOSTPORT/we/want/ -T log/58te[]st.txt -g
  20. </command>
  21. <file name="log/58te[]st.txt">
  22. a few bytes
  23. </file>
  24. </client>
  25. # Verify data after the test has been "shot"
  26. <verify>
  27. <strip>
  28. ^User-Agent:.*
  29. </strip>
  30. <protocol>
  31. PUT /we/want/58te%5B%5Dst%2Etxt HTTP/1.1
  32. Host: 127.0.0.1:8999
  33. Pragma: no-cache
  34. Accept: */*
  35. Content-Length: 12
  36. Expect: 100-continue
  37. a few bytes
  38. </protocol>
  39. </verify>