Skip to content

tower-http-0.6.7

Latest

Choose a tag to compare

@seanmonstar seanmonstar released this 24 Nov 18:27
· 2 commits to main since this release

Added

  • TimeoutLayer::with_status_code(status) to define the status code returned
    when timeout is reached. (#599)

Deprecated

  • auth::require_authorization is too basic for real-world. (#591)
  • TimeoutLayer::new() should be replaced with
    TimeoutLayer::with_status_code(). (Previously was
    StatusCode::REQUEST_TIMEOUT) (#599)

Fixed

  • on_eos is now called even for successful responses. (#580)
  • ServeDir: call fallback when filename is invalid (#586)
  • decompression will not fail when body is empty (#618)

New Contributors

Full Changelog: tower-http-0.6.6...tower-http-0.6.7