Skip to content

Commit

Permalink
fix: Update middleware-etag to 0.3.0 (#342)
Browse files Browse the repository at this point in the history
This includes the fix for returning a NoneBody rather than a Sized(0)
body, allowing the Compress middleware to just not process our response.

Thanks to @phooijenga for the PR on
https://github.com/chriswk/actix-middleware-etag

Fixes: #341
  • Loading branch information
Christopher Kolstad authored Nov 23, 2023
1 parent dfab30d commit 23f7001
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version = "16.0.3"
[dependencies]
actix-cors = "0.6.4"
actix-http = { version = "3.4.0", features = ["compress-zstd", "rustls-0_21"] }
actix-middleware-etag = "0.2.0"
actix-middleware-etag = "0.3.0"
actix-service = "2.0.2"
actix-web = { version = "4.4.0", features = ["rustls-0_21", "compress-zstd"] }
ahash = "0.8.6"
Expand Down

0 comments on commit 23f7001

Please sign in to comment.