sourcemod/extensions/curl/curl-src/tests/data/test13

45 lines
607 B
Plaintext
Raw Normal View History

2009-01-09 00:31:00 +01:00
<testcase>
<info>
<keywords>
HTTP
HTTP custom request
</keywords>
</info>
# Server-side
<reply>
<data>
2013-03-18 01:55:59 +01:00
HTTP/1.1 200 Read you
2009-01-09 00:31:00 +01:00
Content-Length: 29
2013-03-18 01:55:59 +01:00
Deleted: suppose we got a header like this! ;-)
2009-01-09 00:31:00 +01:00
blabla custom request result
</data>
</reply>
# Client-side
<client>
<server>
http
</server>
<name>
HTTP custom request 'DELETE'
</name>
<command>
http://%HOSTIP:%HTTPPORT/want/13 -X DELETE
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
DELETE /want/13 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol>
</verify>
</testcase>