mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 00:28:48 -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>
|
||||
<strippart>
|
||||
%if hyper
|
||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx
/
|
||||
%else
|
||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
|
||||
%endif
|
||||
</strippart>
|
||||
<protocol>
|
||||
GET /220 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
%if hyper
|
||||
Accept-Encoding: xxx
|
||||
%else
|
||||
Accept-Encoding: xxx
|
||||
%endif
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
@ -182,14 +182,22 @@ http://%HOSTIP:%HTTPPORT/314 --compressed
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strippart>
|
||||
%if hyper
|
||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx
/
|
||||
%else
|
||||
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
|
||||
%endif
|
||||
</strippart>
|
||||
<protocol>
|
||||
GET /314 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
%if hyper
|
||||
Accept-Encoding: xxx
|
||||
%else
|
||||
Accept-Encoding: xxx
|
||||
%endif
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
|
Loading…
Reference in New Issue
Block a user