enable push frames in no push test in order to force refusal

This commit is contained in:
HoneyryderChuck 2021-01-14 00:34:51 +00:00
parent a38724d134
commit c5512dbbeb

View File

@ -4,7 +4,7 @@ module Requests
module Plugins
module PushPromise
def test_plugin_no_push_promise
html, css = HTTPX.get(push_html_uri, push_css_uri, max_concurrent_requests: 1)
html, css = HTTPX.get(push_html_uri, push_css_uri, max_concurrent_requests: 1, http2_settings: { settings_enable_push: 1 })
verify_status(html, 200)
verify_status(css, 200)
verify_no_header(css.headers, "x-http2-push")