test13 610 B

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