Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not support HTTP2 header #6691

Closed
geebadan opened this issue Apr 26, 2024 · 1 comment
Closed

not support HTTP2 header #6691

geebadan opened this issue Apr 26, 2024 · 1 comment

Comments

@geebadan
Copy link

not support http2 header

example:

import requests
from hyper.contrib import HTTP20Adapter

headers={':path': '/hello}'

s = requests.Session()
s.mount('https://http2bin.org', HTTP20Adapter())
r = s.get('https://http2bin.org/get', headers=headers)
print(r.status_code)

# raise Invalid leading whitespace, reserved character(s), or return character(s) in header name: ':path'
@sigmavirus24
Copy link
Contributor

This is a duplicate

@sigmavirus24 sigmavirus24 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2024
@psf psf locked and limited conversation to collaborators Apr 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants