test 66 returns one line of data with no header (HTTP)

This commit is contained in:
Daniel Stenberg 2003-05-23 09:46:19 +00:00
parent 23258648da
commit f488874ff5
2 changed files with 35 additions and 1 deletions

View File

@ -20,4 +20,4 @@ test130 test131 test132 test133 test134 test135 test403 test305 \
test49 test50 test51 test52 test53 test54 test55 test56 \
test500 test501 test502 test503 test504 test136 test57 test137 test138 \
test58 test139 test140 test141 test59 test60 test61 test142 test143 test62 \
test63 test64 test65
test63 test64 test65 test66

34
tests/data/test66 Normal file
View File

@ -0,0 +1,34 @@
# Server-side
<reply>
<data>
no headers
</data>
</reply>
# Client-side
<client>
<server>
http
</server>
<name>
HTTP GET without headers in the response
</name>
<command>
http://%HOSTIP:%HOSTPORT/66
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
GET /66 HTTP/1.1
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
</protocol>
</verify>