诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 lines
699 B

  1. <testcase>
  2. # Similar to test 60
  3. <info>
  4. <keywords>
  5. HTTP
  6. HTTP PUT
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.0 200 OK swsclose
  13. Date: Thu, 09 Nov 2010 14:49:00 GMT
  14. Server: test-server/fake
  15. blablabla
  16. </data>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. http
  22. </server>
  23. <name>
  24. HTTP PUT from stdin
  25. </name>
  26. <command>
  27. http://%HOSTIP:%HTTPPORT/bzz/1068 -T -
  28. </command>
  29. <stdin>
  30. more than one byte
  31. </stdin>
  32. </client>
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <strip>
  36. ^User-Agent:.*
  37. </strip>
  38. <protocol>
  39. PUT /bzz/1068 HTTP/1.1
  40. Host: %HOSTIP:%HTTPPORT
  41. Accept: */*
  42. Transfer-Encoding: chunked
  43. Expect: 100-continue
  44. 13
  45. more than one byte
  46. 0
  47. </protocol>
  48. </verify>
  49. </testcase>