alexcrichton / curl-rust

Rust bindings to libcurl
MIT License
1k stars 234 forks source link

Add new `CURLINFO_` constants and `fn response_http_version()` #539

Open MarijnS95 opened 7 months ago

MarijnS95 commented 7 months ago

Fixes #538

Use CURLINFO_HTTP_VERSION (a new constant for the curl-sys crate) to determine the HTTP version used in the last/latest connection.

MarijnS95 commented 5 months ago

Looks like the CI isn't too happy about the new constants added to curl-sys, will have to find a way to update "something" here.