-
Notifications
You must be signed in to change notification settings - Fork 236
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
HTTP response version #538
Comments
This is definitely outside of the scope of this project. Our goal for the |
The historical way to determine the HTTP version used in a request/response would be to examine the first line of the header block from
|
It wouldn't fit very well with the builder-style API that I found in one crate that is using |
I created an API on top of this to tackle your issue. |
Having it in a separate crate kind of defeats the purpose of it, but good to know. Thanks! |
Hi! I'm writing a little bit of
http
interop code in a crate, and running into the need of the HTTP response version. I seem to only be able to set a preferred HTTP version with thisEasy
portion of the crate.I'm not super familiar with
curl
, but it seems the bindings haveCURLINFO_HTTP_VERSION
for this, but I have no clue how new it is nor does it appear to be in the bindings already. Are thecurl-sys
bindings autogenerated or written by hand?Note that we could separately discuss whether this
curl
crate should have built-in (behind an optional crate feature)http
interop support, now that they've had their1.0.0
release?The text was updated successfully, but these errors were encountered: