Skip to content

trillium-http-v1.2.2

Choose a tag to compare

@github-actions github-actions released this 16 May 04:51
· 104 commits to main since this release

Added

  • Error::Other and the Error::other(impl Error) constructor — a catchall variant for application-level errors that need to flow through trillium_http::Result.
  • KnownHeaderName::CdnCacheControl

Changed

  • From<ReceivedBody<'static, _>> for Body now propagates trailers from
    the source body through the conversion. Behavior change for the
    trailer-carrying case; equivalent for bodies without trailers.