test13 565 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 200 Read you
  5. Content-Length: 29
  6. Deleted: suppose we got a header like this! ;-)
  7. blabla custom request result
  8. </data>
  9. </reply>
  10. # Client-side
  11. <client>
  12. <server>
  13. http
  14. </server>
  15. <name>
  16. HTTP custom request 'DELETE'
  17. </name>
  18. <command>
  19. http://%HOSTIP:%HOSTPORT/want/13 -X DELETE
  20. </command>
  21. </test>
  22. # Verify data after the test has been "shot"
  23. <verify>
  24. <strip>
  25. ^User-Agent:.*
  26. </strip>
  27. <protocol>
  28. DELETE /want/13 HTTP/1.1
  29. Host: 127.0.0.1:8999
  30. Pragma: no-cache
  31. Accept: */*
  32. </protocol>
  33. </verify>