New
tower-http-0.6.7
Added
TimeoutLayer::with_status_code(status)to define the status code returned when timeout is reached. (#599)
Deprecated
auth::require_authorizationis too basic for real-world. (#591)TimeoutLayer::new()should be replaced withTimeoutLayer::with_status_code(). (Previously wasStatusCode::REQUEST_TIMEOUT) (#599)
Fixed
on_eosis now called even for successful responses. (#580)ServeDir: call fallback when filename is invalid (#586)decompressionwill not fail when body is empty (#618)
New Contributors
- @mladedav made their first contribution in https://github.com/tower-rs/tower-http/pull/580
- @aryaveersr made their first contribution in https://github.com/tower-rs/tower-http/pull/586
- @soerenmeier made their first contribution in https://github.com/tower-rs/tower-http/pull/588
- @gjabell made their first contribution in https://github.com/tower-rs/tower-http/pull/591
- @FalkWoldmann made their first contribution in https://github.com/tower-rs/tower-http/pull/599
- @ducaale made their first contribution in https://github.com/tower-rs/tower-http/pull/618
Full Changelog: https://github.com/tower-rs/tower-http/compare/tower-http-0.6.6...tower-http-0.6.7