mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-08 00:00:24 +02:00
Use consistent todo comment casing
This commit is contained in:
@@ -26,7 +26,7 @@ where
|
|||||||
type Rejection = HostRejection;
|
type Rejection = HostRejection;
|
||||||
|
|
||||||
async fn from_request(req: &mut RequestParts<B>) -> Result<Self, Self::Rejection> {
|
async fn from_request(req: &mut RequestParts<B>) -> Result<Self, Self::Rejection> {
|
||||||
// todo: extract host from http::header::FORWARDED
|
// TODO: extract host from http::header::FORWARDED
|
||||||
|
|
||||||
if let Some(host) = req
|
if let Some(host) = req
|
||||||
.headers()
|
.headers()
|
||||||
|
|||||||
Reference in New Issue
Block a user