Skip to content

tower-http 0.1.1

Choose a tag to compare

@davidpdrsn davidpdrsn released this 02 Jul 12:39
e1252c2

0.1.1 (July 2, 2021)

  • Add example of using SharedClassifier.
  • Add StatusInRangeAsFailures which is a response classifier that considers
    responses with status code in a certain range as failures. Useful for HTTP
    clients where both server errors (5xx) and client errors (4xx) are considered
    failures.
  • Implement Debug for NeverClassifyEos.
  • Update iri-string to 0.4.
  • Add ClassifyResponse::map_failure_class and ClassifyEos::map_failure_class
    for transforming the failure classification using a function.
  • Clarify exactly when each Trace callback is called.
  • Add AddAuthorizationLayer for setting the Authorization header on
    requests.

Breaking changes

None.