alexcrichton / curl-rust

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

Expose CURLOPT_HTTP09_ALLOWED #436

Closed jbangelo closed 1 year ago

jbangelo commented 2 years ago

The CURLOPT_HTTP09_ALLOWED option tells curl to accept HTTP/0.9 responses, which can be a response just a body and no headers. This option has been disabled by default starting in v7.66 of curl, though some use cases still require it to be enabled.

sagebind commented 1 year ago

This is now published in the 0.4.44 release.