xref: /third_party/curl/tests/data/test1235 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciHTTP
513498266Sopenharmony_ciHTTP GET
613498266Sopenharmony_ciglobbing
713498266Sopenharmony_ci{} list
813498266Sopenharmony_ci</keywords>
913498266Sopenharmony_ci</info>
1013498266Sopenharmony_ci# Server-side
1113498266Sopenharmony_ci<reply>
1213498266Sopenharmony_ci<data1>
1313498266Sopenharmony_ciHTTP/1.1 200 OK
1413498266Sopenharmony_ciFunny-head: yesyes
1513498266Sopenharmony_ciContent-Length: 15
1613498266Sopenharmony_ci
1713498266Sopenharmony_cithe number one
1813498266Sopenharmony_ci</data1>
1913498266Sopenharmony_ci<data2>
2013498266Sopenharmony_ciHTTP/1.1 200 OK
2113498266Sopenharmony_ciFunny-head: yesyes
2213498266Sopenharmony_ciContent-Length: 16
2313498266Sopenharmony_ci
2413498266Sopenharmony_citwo is nice too
2513498266Sopenharmony_ci</data2>
2613498266Sopenharmony_ci</reply>
2713498266Sopenharmony_ci
2813498266Sopenharmony_ci# Client-side
2913498266Sopenharmony_ci<client>
3013498266Sopenharmony_ci<server>
3113498266Sopenharmony_cihttp
3213498266Sopenharmony_ci</server>
3313498266Sopenharmony_ci<name>
3413498266Sopenharmony_cimultiple requests using {}{} in the URL
3513498266Sopenharmony_ci</name>
3613498266Sopenharmony_ci<command>
3713498266Sopenharmony_ci"%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER}{0001,0002}"
3813498266Sopenharmony_ci</command>
3913498266Sopenharmony_ci</client>
4013498266Sopenharmony_ci
4113498266Sopenharmony_ci# Verify data after the test has been "shot"
4213498266Sopenharmony_ci<verify>
4313498266Sopenharmony_ci<protocol>
4413498266Sopenharmony_ciGET /%TESTNUMBER0001 HTTP/1.1
4513498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT
4613498266Sopenharmony_ciUser-Agent: curl/%VERSION
4713498266Sopenharmony_ciAccept: */*
4813498266Sopenharmony_ci
4913498266Sopenharmony_ciGET /%TESTNUMBER0002 HTTP/1.1
5013498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT
5113498266Sopenharmony_ciUser-Agent: curl/%VERSION
5213498266Sopenharmony_ciAccept: */*
5313498266Sopenharmony_ci
5413498266Sopenharmony_ciGET /%TESTNUMBER0001 HTTP/1.1
5513498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT
5613498266Sopenharmony_ciUser-Agent: curl/%VERSION
5713498266Sopenharmony_ciAccept: */*
5813498266Sopenharmony_ci
5913498266Sopenharmony_ciGET /%TESTNUMBER0002 HTTP/1.1
6013498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT
6113498266Sopenharmony_ciUser-Agent: curl/%VERSION
6213498266Sopenharmony_ciAccept: */*
6313498266Sopenharmony_ci
6413498266Sopenharmony_ci</protocol>
6513498266Sopenharmony_ci<stdout>
6613498266Sopenharmony_ciHTTP/1.1 200 OK
6713498266Sopenharmony_ciFunny-head: yesyes
6813498266Sopenharmony_ciContent-Length: 15
6913498266Sopenharmony_ci
7013498266Sopenharmony_cithe number one
7113498266Sopenharmony_ciHTTP/1.1 200 OK
7213498266Sopenharmony_ciFunny-head: yesyes
7313498266Sopenharmony_ciContent-Length: 16
7413498266Sopenharmony_ci
7513498266Sopenharmony_citwo is nice too
7613498266Sopenharmony_ciHTTP/1.1 200 OK
7713498266Sopenharmony_ciFunny-head: yesyes
7813498266Sopenharmony_ciContent-Length: 15
7913498266Sopenharmony_ci
8013498266Sopenharmony_cithe number one
8113498266Sopenharmony_ciHTTP/1.1 200 OK
8213498266Sopenharmony_ciFunny-head: yesyes
8313498266Sopenharmony_ciContent-Length: 16
8413498266Sopenharmony_ci
8513498266Sopenharmony_citwo is nice too
8613498266Sopenharmony_ci</stdout>
8713498266Sopenharmony_ci</verify>
8813498266Sopenharmony_ci</testcase>
89