-
Notifications
You must be signed in to change notification settings - Fork 169
Comparing changes
Open a pull request
base repository: tower-rs/tower-http
base: tower-http-0.3.5
head repository: tower-rs/tower-http
compare: tower-http-0.4.0
- 17 commits
- 30 files changed
- 8 contributors
Commits on Dec 2, 2022
-
Make
ServeDir
infallible (#283)* Make `ServeDir` infallible * add missing docs * depend on tracing for `fs` * add note about requiring infallible fallbacks * clean up * format
Configuration menu - View commit details
-
Copy full SHA for f8743bf - Browse repository at this point
Copy the full SHA f8743bfView commit details -
Implement require_auth with validate_request (#290)
* Implement require_auth with validate_request * Update CHANGELOG * Fix style * Address comments Signed-off-by: Daniele Ahmed <ahmeddan@amazon.de> Signed-off-by: Daniele Ahmed <ahmeddan@amazon.de>
Configuration menu - View commit details
-
Copy full SHA for 55d3a39 - Browse repository at this point
Copy the full SHA 55d3a39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28e1d32 - Browse repository at this point
Copy the full SHA 28e1d32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5591429 - Browse repository at this point
Copy the full SHA 5591429View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa94ba0 - Browse repository at this point
Copy the full SHA fa94ba0View commit details
Commits on Dec 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 61e20f0 - Browse repository at this point
Copy the full SHA 61e20f0View commit details
Commits on Jan 5, 2023
-
Don't include identity in Content-Encoding header (#317)
* Don't include identity in Content-Encoding header According to the [spec][1] `identity` should only be used for the Accept-Encoding header and not be included in Content-Encoding. In practice this change fixes chunked video loading in Firefox when using `ServeDir`. (making seeking possible without downloading the whole video file) [1]: https://httpwg.org/specs/rfc9110.html#field.content-encoding * Address review comment * Add test for `Accept-Encoding: identity`
Configuration menu - View commit details
-
Copy full SHA for 06b21d8 - Browse repository at this point
Copy the full SHA 06b21d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6434e7 - Browse repository at this point
Copy the full SHA b6434e7View commit details
Commits on Jan 20, 2023
-
* Still compress svgs Even though they're images they're really just xml, so should still be compressed. Fixes #320 * changelog
Configuration menu - View commit details
-
Copy full SHA for e941dee - Browse repository at this point
Copy the full SHA e941deeView commit details
Commits on Jan 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a6d0f7b - Browse repository at this point
Copy the full SHA a6d0f7bView commit details
Commits on Feb 21, 2023
-
ServeDir: convert io::ErrorKind::NotADirectory to not_found (#331)
* ServeDir: convert io::ErrorKind::NotADirectory to not_found * only check raw OS error on unix OS, add comment. * mention "is a directory" handling in ServeDir in documentation
Configuration menu - View commit details
-
Copy full SHA for 987f5c9 - Browse repository at this point
Copy the full SHA 987f5c9View commit details
Commits on Feb 24, 2023
-
Support zstd (de)compression (#322)
* Support zstd compression * fix * Give zstd highest priority for `accept-encoding` * fix typo * Use `.zst` extension for files precompressed with zstd * don't pull in two `zstd`s
Configuration menu - View commit details
-
Copy full SHA for 255c28e - Browse repository at this point
Copy the full SHA 255c28eView commit details -
Impl
Default
forCompressionBody
when possible (#323)* This allows interop with `tonic::transport::Server` and `tonic::transport::server::Router::serve_with_shutdown` which require that the responses implement `Default`.
Configuration menu - View commit details
-
Copy full SHA for f3d8528 - Browse repository at this point
Copy the full SHA f3d8528View commit details -
* Add layer to decompress request bodies Still needs some refactor to remove duplicate code and needs documentation * Refactor decompression modules * Fix incorrect rename * Add ResponseFuture for RequestDecompression Which either polls its inner future or returns 415 Unsupported Media Type * Refactor DecompressionService * Rollback rename and move of `Decompression` Refactoring of `decompression` module will be done in a later PR * Re-add `request` module to the `decompression` module * Send "identity" encoding when no encodings are accepted * Add documentation * Add example * Fix styling * Fix some styling of imports and documentation * Add enable parameter to RequestDecompressionLayer::pass_through_unaccepted * Cleanup redundant code * fix imports * actually fix import * check for zstd * zstd --------- Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 67130ab - Browse repository at this point
Copy the full SHA 67130abView commit details -
Configuration menu - View commit details
-
Copy full SHA for e399df9 - Browse repository at this point
Copy the full SHA e399df9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc57dee - Browse repository at this point
Copy the full SHA bc57deeView commit details -
* Release 0.4.0 :rocket: * add zstd to changelog
Configuration menu - View commit details
-
Copy full SHA for 842cf89 - Browse repository at this point
Copy the full SHA 842cf89View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff tower-http-0.3.5...tower-http-0.4.0