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

Request incorrectly shows Connection header #3

Open
jkbrzt opened this issue Feb 7, 2015 · 1 comment
Open

Request incorrectly shows Connection header #3

jkbrzt opened this issue Feb 7, 2015 · 1 comment
Labels

Comments

@jkbrzt
Copy link
Member

jkbrzt commented Feb 7, 2015

…even though it's not used by HTTP/2

python-hyper/hyper#83

$ http -v  https://nghttp2.org/httpbin/get
GET /httpbin/get HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Host: nghttp2.org
User-Agent: HTTPie/0.9.1
HTTP/2 200
access-control-allow-credentials: true
access-control-allow-origin: *
content-length: 268
content-type: application/json
date: Sat, 07 Feb 2015 17:02:52 GMT
server: nghttpx nghttp2/0.7.4-DEV
strict-transport-security: max-age=31536000
via: 1.1 nghttpx
@jkbrzt jkbrzt added the bug label Feb 7, 2015
@Lukasa
Copy link

Lukasa commented Feb 7, 2015

When does HTTPie print the headers? I can't touch the request until it gets very low down indeed: the send method of the adapter. If it's printed any time before then I can't manipulate it appropriately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants