http-types provides shared types for HTTP operations. It combines a performant, streaming interface with convenient methods for creating headers, urls, and other standard HTTP types. This is part of the http-rs project and powers the tide framework and surf client. Check out the docs or join us on Zulip.
Highlights
This release represents continued support of the http-types 2.x release line due to delays in the development of http-types 3.0.0. This release comes with several convenience features, listed below.
Proposed changelog:
http-types
provides shared types for HTTP operations. It combines a performant, streaming interface with convenient methods for creating headers, urls, and other standard HTTP types. This is part of thehttp-rs
project and powers thetide
framework andsurf
client. Check out the docs or join us on Zulip.Highlights
This release represents continued support of the
http-types
2.x release line due to delays in the development ofhttp-types
3.0.0. This release comes with several convenience features, listed below.The
http-types
3.0 merge window remains open, and you can see the nominated items for the next major version as part of theSemver-Major
issue on GitHub.Changed
Request.query()
to deserialize into a borrowedDeserialize<'de>
rather than justDeserializeOwned
. #333Added
Body::chain()
for merge multipleBody
instances. #342, #346AsRef<str> for Version
, returning'static str
. #351Error::from_debug()
, a helper for converting fromstd::error::Error
s. #345Error::from_display
, a helper for converting fromstd::error::Error
s. #345Fixed
Content-Encoding
andTransfer-Encoding
. #354Docs
url
's crate newTryFrom<&str>
. #324Content-Encoding
andTransfer-Encoding
docs. #354