1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker<info> 3*6236dae4SAndroid Build Coastguard Worker<keywords> 4*6236dae4SAndroid Build Coastguard WorkerHTTP 5*6236dae4SAndroid Build Coastguard WorkerHTTP GET 6*6236dae4SAndroid Build Coastguard Worker</keywords> 7*6236dae4SAndroid Build Coastguard Worker</info> 8*6236dae4SAndroid Build Coastguard Worker 9*6236dae4SAndroid Build Coastguard Worker# 10*6236dae4SAndroid Build Coastguard Worker# Server-side 11*6236dae4SAndroid Build Coastguard Worker<reply> 12*6236dae4SAndroid Build Coastguard Worker<data> 13*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK 14*6236dae4SAndroid Build Coastguard WorkerDate: Tue, 09 Nov 2010 14:49:00 GMT 15*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake 16*6236dae4SAndroid Build Coastguard WorkerLast-Modified: Tue, 13 Jun 2000 12:10:00 GMT 17*6236dae4SAndroid Build Coastguard WorkerETag: "21025-dc7-39462498" 18*6236dae4SAndroid Build Coastguard WorkerAccept-Ranges: bytes 19*6236dae4SAndroid Build Coastguard WorkerContent-Length: 6 20*6236dae4SAndroid Build Coastguard WorkerConnection: close 21*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html 22*6236dae4SAndroid Build Coastguard WorkerFunny-head: yesyes 23*6236dae4SAndroid Build Coastguard Worker 24*6236dae4SAndroid Build Coastguard Worker-foo- 25*6236dae4SAndroid Build Coastguard Worker</data> 26*6236dae4SAndroid Build Coastguard Worker</reply> 27*6236dae4SAndroid Build Coastguard Worker 28*6236dae4SAndroid Build Coastguard Worker# 29*6236dae4SAndroid Build Coastguard Worker# Client-side 30*6236dae4SAndroid Build Coastguard Worker<client> 31*6236dae4SAndroid Build Coastguard Worker# hyper doesn't support the added crazy header 32*6236dae4SAndroid Build Coastguard Worker<features> 33*6236dae4SAndroid Build Coastguard WorkerDebug 34*6236dae4SAndroid Build Coastguard Worker!hyper 35*6236dae4SAndroid Build Coastguard Worker</features> 36*6236dae4SAndroid Build Coastguard Worker<server> 37*6236dae4SAndroid Build Coastguard Workerhttp 38*6236dae4SAndroid Build Coastguard Worker</server> 39*6236dae4SAndroid Build Coastguard Worker<name> 40*6236dae4SAndroid Build Coastguard WorkerHTTP GET with split initial request send 41*6236dae4SAndroid Build Coastguard Worker</name> 42*6236dae4SAndroid Build Coastguard Worker<setenv> 43*6236dae4SAndroid Build Coastguard Worker# Oliver Twist 44*6236dae4SAndroid Build Coastguard Worker 45*6236dae4SAndroid Build Coastguard Worker# make the first send cut off after this amount of data 46*6236dae4SAndroid Build Coastguard WorkerCURL_SMALLREQSEND=128 47*6236dae4SAndroid Build Coastguard Worker</setenv> 48*6236dae4SAndroid Build Coastguard Worker<command> 49*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/%TESTNUMBER -H "Among other public buildings in a certain town, which for many reasons it will be prudent to refrain from mentioning, and to which I will assign no fictitious name, there is one anciently common to most towns, great or small to wit, a workhouse; and in this workhouse was born; on a day and date which I need not trouble myself to repeat, inasmuch as it can be of no possible consequence to the reader, in this stage of the business at all events; the item of mortality whose name is prefixed to the head of this chapter: 511" 50*6236dae4SAndroid Build Coastguard Worker</command> 51*6236dae4SAndroid Build Coastguard Worker</client> 52*6236dae4SAndroid Build Coastguard Worker 53*6236dae4SAndroid Build Coastguard Worker# 54*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 55*6236dae4SAndroid Build Coastguard Worker<verify> 56*6236dae4SAndroid Build Coastguard Worker<protocol> 57*6236dae4SAndroid Build Coastguard WorkerGET /012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/%TESTNUMBER HTTP/1.1 58*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT 59*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION 60*6236dae4SAndroid Build Coastguard WorkerAccept: */* 61*6236dae4SAndroid Build Coastguard WorkerAmong other public buildings in a certain town, which for many reasons it will be prudent to refrain from mentioning, and to which I will assign no fictitious name, there is one anciently common to most towns, great or small to wit, a workhouse; and in this workhouse was born; on a day and date which I need not trouble myself to repeat, inasmuch as it can be of no possible consequence to the reader, in this stage of the business at all events; the item of mortality whose name is prefixed to the head of this chapter: 511 62*6236dae4SAndroid Build Coastguard Worker 63*6236dae4SAndroid Build Coastguard Worker</protocol> 64*6236dae4SAndroid Build Coastguard Worker</verify> 65*6236dae4SAndroid Build Coastguard Worker</testcase> 66