File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1164
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (4 years, 7 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

<testcase>
<info>
<keywords>
HTTP
HTTP GET
</keywords>
</info>

#
# Server-side
<reply>
# perl -e 'print "swsclose" . "\0" x 200;' | base64
# 'swsclose' is there to force server to close after send
<data nocheck="yes" base64="yes">
c3dzY2xvc2UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
</data>
</reply>

#
# Client-side
<client>
<server>
http
</server>
 <name>
HTTP/0.9 GET and all zeroes
 </name>
 <command option="force-output">
http://%HOSTIP:%HTTPPORT/1164 -w '%{size_download}\n' --http0.9
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
GET /1164 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*

</protocol>
<stdout mode="text">
208
</stdout>
</verify>
</testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>