surf
surf copied to clipboard
Make async-h1 the default client, don't build with wasm by default.
See https://github.com/http-rs/surf/issues/217
The second commit is similar to tide & async-std issues and relates to https://github.com/rust-lang/cargo/issues/1197
Discussed this on a call with @yoshuawuyts and @jbr.
It seems like there are still too many things missing from the async-h1 client at the time of writing to make this worthwhile for 2.0.
The list I gathered:
- outgoing chunked encoding
- http/2
- compression
- forwarding
- connection pooling
- See https://github.com/http-rs/surf/issues/224
- client timeouts
Other things that may be less-than-complete:
- redirects (by default?)
- encodings (?)
- TLS support (?)
See also https://github.com/orgs/http-rs/projects/2