Skip to content

Commit b854be6

Browse files
committed
skip test_003_61 for newer curl versions
1 parent fe05561 commit b854be6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/modules/http2/test_003_get.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ def test_h2_003_60(self, env):
242242

243243
# Test that we handle a 'TE: gzip' request header
244244
def test_h2_003_61(self, env):
245+
if env.curl_is_at_least('8.14.0'):
246+
pytest.skip(f'newer curl ignores TE headers on h2')
245247
url = env.mkurl("https", "test1", "/index.html")
246248
r = env.curl_get(url, options=['-H', 'TE: gzip'])
247249
# such a request headers is not allowed in HTTP/2

0 commit comments

Comments
 (0)