ducaale / xh

Friendly and fast tool for sending HTTP requests
MIT License
5.6k stars 99 forks source link

Support HTTP/3 #36

Open moderation opened 3 years ago

moderation commented 3 years ago

Consider supporting HTTP/3 (h3). The following projects implement h3 in Rust however Cloudflare's Quiche might be the better option as it doesn't require C projects (Mozilla's Neqo requires NSS) and can be compiled as a static musl binary. It looks like Quinn only implements HTTP.0.9 over QUIC

blyxxyz commented 3 years ago

ht uses reqwest, so that would need to support HTTP/3 first. That'll likely happen when hyperium/h3 is mature enough to be used by hyper.

moderation commented 3 years ago

reqwest support makes sense. The issue for HTTP/3 support in hyper is at https://github.com/hyperium/hyper/issues/1818

ducaale commented 2 years ago

An issue for supporting HTTP/3 in reqwest https://github.com/seanmonstar/reqwest/issues/1558

ducaale commented 1 year ago

The latest version of reqwest has added experimental support for HTTP/3 🎉 https://github.com/seanmonstar/reqwest/releases/tag/v0.11.15

sorairolake commented 1 year ago

I tried to implement this feature, but there are some issues such as the need to set RUSTFLAGS='--cfg reqwest_unstable' environment variable, so I think it's better to implement this feature after the http3 feature of reqwest is stable.