Skip to content

Commit

Permalink
Remove incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Sparks committed Sep 10, 2024
1 parent 59168e7 commit abc0b30
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion axum-extra/src/extract/scheme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const X_FORWARDED_PROTO_HEADER_KEY: &str = "X-Forwarded-Proto";
/// - `X-Forwarded-Proto` header
/// - Request URI (If the request is an HTTP/2 request! e.g. use `--http2(-prior-knowledge)` with cURL)
///
/// If you are intending to match on the URI, make sure to enable axum's `http2` feature.
/// Note that user agents can set the `X-Forwarded-Proto` header to arbitrary values so make
/// sure to validate them to avoid security issues.
#[derive(Debug)]
Expand Down

0 comments on commit abc0b30

Please sign in to comment.