mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-22 00:05:57 -05:00
enable push frames in no push test in order to force refusal
This commit is contained in:
parent
a38724d134
commit
c5512dbbeb
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user