mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
added test 37
This commit is contained in:
parent
45cc78fdbc
commit
83da58ce91
@ -13,4 +13,4 @@ test102 test11 test117 test124 test19 test23 test33 test8 \
|
||||
test103 test110 test118 test125 test2 test24 test4 test9 \
|
||||
test104 test111 test119 test13 test20 test25 test400 test47 \
|
||||
test105 test112 test12 test14 test200 test26 test43 test46 \
|
||||
test34 test36
|
||||
test34 test36 test37
|
||||
|
36
tests/data/test37
Normal file
36
tests/data/test37
Normal file
@ -0,0 +1,36 @@
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<name>
|
||||
HTTP GET with nothing returned from server
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HOSTPORT/37
|
||||
</command>
|
||||
</test>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
52
|
||||
</errocode>
|
||||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol>
|
||||
GET /37 HTTP/1.1
|
||||
Host: 127.0.0.1:8999
|
||||
Pragma: no-cache
|
||||
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
Loading…
Reference in New Issue
Block a user