hyperium / h2

HTTP 2.0 client & server implementation for Rust.
MIT License
1.34k stars 265 forks source link

feat: Add option in client builder to ignore content length #768

Open Alvenix opened 2 months ago

Alvenix commented 2 months ago

In order to support CURLOPT_IGNORE_CONTENT_LENGTH for curl hyper backend.

I haven't added tests yet. (I am not sure to how many tests to add, but flipping the default and running all the tests manually was successful)