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 POST 6*6236dae4SAndroid Build Coastguard WorkerHTTP/2 7*6236dae4SAndroid Build Coastguard WorkerHTTPS 8*6236dae4SAndroid Build Coastguard Worker</keywords> 9*6236dae4SAndroid Build Coastguard Worker</info> 10*6236dae4SAndroid Build Coastguard Worker 11*6236dae4SAndroid Build Coastguard Worker# 12*6236dae4SAndroid Build Coastguard Worker# Server-side 13*6236dae4SAndroid Build Coastguard Worker<reply> 14*6236dae4SAndroid Build Coastguard Worker<data nocheck="yes"> 15*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 201 OK 16*6236dae4SAndroid Build Coastguard WorkerDate: Tue, 09 Nov 2010 14:49:00 GMT 17*6236dae4SAndroid Build Coastguard WorkerConnection: close 18*6236dae4SAndroid Build Coastguard WorkerContent-Length: 0 19*6236dae4SAndroid Build Coastguard WorkerFunny-head: yesyes 20*6236dae4SAndroid Build Coastguard Worker 21*6236dae4SAndroid Build Coastguard Worker</data> 22*6236dae4SAndroid Build Coastguard Worker</reply> 23*6236dae4SAndroid Build Coastguard Worker 24*6236dae4SAndroid Build Coastguard Worker# 25*6236dae4SAndroid Build Coastguard Worker# Client-side 26*6236dae4SAndroid Build Coastguard Worker<client> 27*6236dae4SAndroid Build Coastguard Worker<features> 28*6236dae4SAndroid Build Coastguard WorkerDebug 29*6236dae4SAndroid Build Coastguard Workerhttp/2 30*6236dae4SAndroid Build Coastguard WorkerSSL 31*6236dae4SAndroid Build Coastguard Worker</features> 32*6236dae4SAndroid Build Coastguard Worker<server> 33*6236dae4SAndroid Build Coastguard Workerhttp/2 34*6236dae4SAndroid Build Coastguard Worker</server> 35*6236dae4SAndroid Build Coastguard Worker<name> 36*6236dae4SAndroid Build Coastguard WorkerHTTP/2 POST over HTTPS 37*6236dae4SAndroid Build Coastguard Worker</name> 38*6236dae4SAndroid Build Coastguard Worker<setenv> 39*6236dae4SAndroid Build Coastguard Worker</setenv> 40*6236dae4SAndroid Build Coastguard Worker<command> 41*6236dae4SAndroid Build Coastguard Worker-k --http2 "https://%HOSTIP:%HTTP2TLSPORT/%TESTNUMBER" -d "moo" 42*6236dae4SAndroid Build Coastguard Worker</command> 43*6236dae4SAndroid Build Coastguard Worker 44*6236dae4SAndroid Build Coastguard Worker</client> 45*6236dae4SAndroid Build Coastguard Worker 46*6236dae4SAndroid Build Coastguard Worker# 47*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 48*6236dae4SAndroid Build Coastguard Worker<verify> 49*6236dae4SAndroid Build Coastguard Worker<stdout> 50*6236dae4SAndroid Build Coastguard WorkerHTTP/2 201 51*6236dae4SAndroid Build Coastguard Workerdate: Tue, 09 Nov 2010 14:49:00 GMT 52*6236dae4SAndroid Build Coastguard Workercontent-length: 0 53*6236dae4SAndroid Build Coastguard Workerfunny-head: yesyes 54*6236dae4SAndroid Build Coastguard Workerserver: nghttpx 55*6236dae4SAndroid Build Coastguard Workervia: 1.1 nghttpx 56*6236dae4SAndroid Build Coastguard Worker 57*6236dae4SAndroid Build Coastguard Worker</stdout> 58*6236dae4SAndroid Build Coastguard Worker<protocol nonewline="yes"> 59*6236dae4SAndroid Build Coastguard WorkerPOST /%TESTNUMBER HTTP/1.1 60*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTP2TLSPORT 61*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION 62*6236dae4SAndroid Build Coastguard WorkerAccept: */* 63*6236dae4SAndroid Build Coastguard WorkerContent-Length: 3 64*6236dae4SAndroid Build Coastguard WorkerContent-Type: application/x-www-form-urlencoded 65*6236dae4SAndroid Build Coastguard WorkerX-Forwarded-Proto: https 66*6236dae4SAndroid Build Coastguard WorkerVia: 2 nghttpx 67*6236dae4SAndroid Build Coastguard Worker 68*6236dae4SAndroid Build Coastguard Workermoo 69*6236dae4SAndroid Build Coastguard Worker</protocol> 70*6236dae4SAndroid Build Coastguard Worker</verify> 71*6236dae4SAndroid Build Coastguard Worker</testcase> 72