1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTPS
HTTP POST
client-body-filter
</keywords>
</info>
<reply>
<data>
HTTP/1.1 200 OK
Content-Length: 21
Content-Type: text/html
Received your input.
</data>
<data1>
HTTP/1.1 200 OK
Connection: close
Content-Type: text/html
X-Connection: swsclose
Received your input.
</data1>
</reply>
<proxy-reply>
<data>
HTTP/1.1 200 Connection established%CR
%CR
HTTP/1.1 200 OK%CR
Content-Length: 21%CR
Content-Type: text/html%CR
%CR
Received your input.
</data>
</proxy-reply>
<client>
<server>
https
</server>
<name>
Two filters applied to client request on a reused connection reusing the already filtered content (based on test 7)
</name>
<features>
proxy
</features>
<command>
--insecure https://%HOSTIP:%HTTPSPORT/bumfidel-to-tralala/%TESTNUMBER --next -d "blafasel" --insecure https://%HOSTIP:%HTTPSPORT/bumfidel-to-tralala/%TESTNUMBER
</command>
</client>
<verify>
<protocol nonewline="yes">
GET /bumfidel-to-tralala/%TESTNUMBER HTTP/1.1%CR
Host: %HOSTIP:%HTTPSPORT%CR
User-Agent: curl/%VERSION%CR
Accept: */*%CR
%CR
POST /bumfidel-to-tralala/%TESTNUMBER HTTP/1.1%CR
Host: %HOSTIP:%HTTPSPORT%CR
User-Agent: curl/%VERSION%CR
Accept: */*%CR
Content-Length: 7%CR
Content-Type: application/x-www-form-urlencoded%CR
%CR
tralala
</protocol>
</verify>
</testcase>
|