Skip to content

actix-web: v4.12.0

Choose a tag to compare

@JohnTitor JohnTitor released this 16 Nov 07:05
· 10 commits to main since this release
d119500

Short announcement

We've started GitHub Sponsors: https://github.com/sponsors/actix
Support our development!

v4.12.0

  • actix_web::response::builder::HttpResponseBuilder::streaming() now sets Content-Type to application/octet-stream if Content-Type does not exist.
  • actix_web::response::builder::HttpResponseBuilder::streaming() now calls actix_web::response::builder::HttpResponseBuilder::no_chunking() and returns SizedStream if Content-Length is set by user.
  • Add ws crate feature (on-by-default) which forwards to actix-http and guards some of its ResponseError impls.
    • ⚠️ if you use default-feature = false and the web scoket feature, please make sure you enable the ws feature.
  • Add public export for EitherExtractError in error module.