diff --git a/tests/data/test220 b/tests/data/test220
index 4b2e41672..67f31f1f4 100644
--- a/tests/data/test220
+++ b/tests/data/test220
@@ -55,14 +55,22 @@ http://%HOSTIP:%HTTPPORT/220 --compressed
# Verify data after the test has been "shot"
+%if hyper
+s/^Accept-Encoding: .*/Accept-Encoding: xxx
/
+%else
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+%endif
GET /220 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
+%if hyper
+Accept-Encoding: xxx
+%else
Accept-Encoding: xxx
+%endif
diff --git a/tests/data/test314 b/tests/data/test314
index 899200dc1..d22038a5b 100644
--- a/tests/data/test314
+++ b/tests/data/test314
@@ -182,14 +182,22 @@ http://%HOSTIP:%HTTPPORT/314 --compressed
# Verify data after the test has been "shot"
+%if hyper
+s/^Accept-Encoding: .*/Accept-Encoding: xxx
/
+%else
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
+%endif
GET /314 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
+%if hyper
+Accept-Encoding: xxx
+%else
Accept-Encoding: xxx
+%endif