test13 620 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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/%TESTNUMBER -X DELETE
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <protocol>
  32. DELETE /want/%TESTNUMBER HTTP/1.1
  33. Host: %HOSTIP:%HTTPPORT
  34. User-Agent: curl/%VERSION
  35. Accept: */*
  36. </protocol>
  37. </verify>
  38. </testcase>