mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-05 02:22:03 +01:00
Use consistent todo comment casing
This commit is contained in:
parent
7aa3f35129
commit
b6a2d9dba7
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue