mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
test220/314: adjust to run with Hyper
This commit is contained in:
parent
7098f9fe3a
commit
f073a427b4
@ -55,14 +55,22 @@ http://%HOSTIP:%HTTPPORT/220 --compressed
|
|||||||
# Verify data after the test has been "shot"
|
# Verify data after the test has been "shot"
|
||||||
<verify>
|
<verify>
|
||||||
<strippart>
|
<strippart>
|
||||||
|
%if hyper
|
||||||
|
s/^Accept-Encoding: .*/Accept-Encoding: xxx
/
|
||||||
|
%else
|
||||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
|
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
|
||||||
|
%endif
|
||||||
</strippart>
|
</strippart>
|
||||||
<protocol>
|
<protocol>
|
||||||
GET /220 HTTP/1.1
|
GET /220 HTTP/1.1
|
||||||
Host: %HOSTIP:%HTTPPORT
|
Host: %HOSTIP:%HTTPPORT
|
||||||
User-Agent: curl/%VERSION
|
User-Agent: curl/%VERSION
|
||||||
Accept: */*
|
Accept: */*
|
||||||
|
%if hyper
|
||||||
Accept-Encoding: xxx
|
Accept-Encoding: xxx
|
||||||
|
%else
|
||||||
|
Accept-Encoding: xxx
|
||||||
|
%endif
|
||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
@ -182,14 +182,22 @@ http://%HOSTIP:%HTTPPORT/314 --compressed
|
|||||||
# Verify data after the test has been "shot"
|
# Verify data after the test has been "shot"
|
||||||
<verify>
|
<verify>
|
||||||
<strippart>
|
<strippart>
|
||||||
|
%if hyper
|
||||||
|
s/^Accept-Encoding: .*/Accept-Encoding: xxx
/
|
||||||
|
%else
|
||||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
|
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
|
||||||
|
%endif
|
||||||
</strippart>
|
</strippart>
|
||||||
<protocol>
|
<protocol>
|
||||||
GET /314 HTTP/1.1
|
GET /314 HTTP/1.1
|
||||||
Host: %HOSTIP:%HTTPPORT
|
Host: %HOSTIP:%HTTPPORT
|
||||||
User-Agent: curl/%VERSION
|
User-Agent: curl/%VERSION
|
||||||
Accept: */*
|
Accept: */*
|
||||||
|
%if hyper
|
||||||
Accept-Encoding: xxx
|
Accept-Encoding: xxx
|
||||||
|
%else
|
||||||
|
Accept-Encoding: xxx
|
||||||
|
%endif
|
||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
Loading…
Reference in New Issue
Block a user