Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
. Request: allow Deserialize<'de> for .query() #333Added
Method
enum #332Body::chain()
for merge multipleBody
instances. Add Body::chain to create a Body from a series of two Body instances #342, Make Body::chain not depend on the async-std feature #346AsRef<str> for Version
, returning'static str
. feat: add AsRef<str> for Version #351Error::from_debug()
, a helper for converting fromstd::error::Error
s. feat: add Error::from_display & from_debug #345Error::from_display
, a helper for converting fromstd::error::Error
s. feat: add Error::from_display & from_debug #345Fixed
Content-Encoding
andTransfer-Encoding
. Fixes error messages in Content-Type and Transfer-Encoding negotiation #354Docs
url
's crate newTryFrom<&str>
. Simplify Request examples #324Content-Encoding
andTransfer-Encoding
docs. Fixes error messages in Content-Type and Transfer-Encoding negotiation #354