Jeremiah Senkpiel
Jeremiah Senkpiel
Upon further investigation it seems like this is only an issue with the default [curl-based](https://crates.io/crates/isahc) client. Try this: ```toml surf = { version = "2.1", default-features = false, features =...
That being said, I can't reproduce the panic. For me this test just hangs forever. This machine is running Ubuntu 20 if that matters. Can anyone get a bracktrace? `cargo...
Ironically, CI running Ubuntu 20 _does fail_. ``` Error: ResponseBodyError(None): unknown error thread 'head_example_org' panicked at 'assertion failed: `(left == right)` ```
Use the `h1-client`.
Hey Jarrett, yeah this is expected right now. It is an unfortunate side effect of body streaming as well as some things regarding ownership. I'm not quite sure how other...
@yoshuawuyts
The short answer here is that we won't support that because the [url crate](https://crates.io/crates/url) does not support it.
This depends on which surf backend is in use. Ideally we'd have configuration options for Async-h1 which is where this would sit, along with a cargo feature for it specifying...
I think what you want is a custom struct that impls `AsyncBufReader` and can compare the amount of bytes being read to e.g. a `Content-Length` header or stat'd file size.
You want the `Response`, and the `Response` implements [`AsyncBufRead`](https://docs.rs/futures-io/0.3.5/futures_io/trait.AsyncBufRead.html), which is what I was referring to (mistakenly mis-spelt).