We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7be16d2 commit b1bb0e4Copy full SHA for b1bb0e4
tower-http/src/lib.rs
@@ -70,8 +70,6 @@
70
//! .layer(PropagateHeaderLayer::new(HeaderName::from_static("x-request-id")))
71
//! // If the response has a known size set the `Content-Length` header
72
//! .layer(SetResponseHeaderLayer::overriding(CONTENT_TYPE, content_length_from_response))
73
-//! // Authorize requests using a token
74
-//! .layer(ValidateRequestHeaderLayer::bearer("passwordlol"))
75
//! // Accept only application/json, application/* and */* in a request's Accept header
76
//! .layer(ValidateRequestHeaderLayer::accept("application/json"))
77
//! // Wrap a `Service` in our middleware stack
0 commit comments