tower-http 0.1.1
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
forNeverClassifyEos
. - Update iri-string to 0.4.
- Add
ClassifyResponse::map_failure_class
andClassifyEos::map_failure_class
for transforming the failure classification using a function. - Clarify exactly when each
Trace
callback is called. - Add
AddAuthorizationLayer
for setting theAuthorization
header on
requests.
Breaking changes
None.