Rust HTTP types
Repo hyperium/http, read from GitHub 1 d ago. hyperium has not joined Take My Repo.
Full Changelog: v1.4.2...v1.5.0
Full Changelog: v1.4.1...v1.4.2
PathAndQuery::from_static() and from_shared() to reject inputs that do not start with /.Extend for HeaderMap to clamp max size hint and not overflow.header::IntoIter that could use-after-free if the generic value type could panic on drop.header::{IterMut, ValuesIterMut} to not violate stacked borrows.Full Changelog: v1.4.0...v1.4.1
StatusCode::EARLY_HINTS constant for 103 Early Hints.StatusCode::from_u16 now a const fn.Authority::from_static now a const fn.PathAndQuery::from_static now a const fn.Extensions debug output by @crepererum in #773HeaderMap documentaion by @Sol-Ell in #774StatusCode::from_u16 const by @coolreader18 in #761Authority/PathAndQuery::from_static const by @WaterWhisperer in #786Full Changelog: v1.3.1...v1.4.0
Full Changelog: v1.3.0...v1.3.1
Uris with previously illegal characters according the original RFC will now be accepted. They used to be rejected in the name of spec purity, but many operators were using a fork of http because reality is that most characters are seen in the real world.HeaderMap::reserve() to allocate sufficient capacity.Full Changelog: v1.2.0...v1.3.0