Releases: tower-rs/tower-http
Releases · tower-rs/tower-http
tower-http 0.1.1
0.1.1 (July 2, 2021)
- Add example of using
SharedClassifier. - Add
StatusInRangeAsFailureswhich 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
DebugforNeverClassifyEos. - Update iri-string to 0.4.
- Add
ClassifyResponse::map_failure_classandClassifyEos::map_failure_class
for transforming the failure classification using a function. - Clarify exactly when each
Tracecallback is called. - Add
AddAuthorizationLayerfor setting theAuthorizationheader on
requests.
Breaking changes
None.