诸暨麻将添加redis
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

58 rindas
742 B

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