Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matteo Bigoi <[email protected]>
  • Loading branch information
unexge and crisidev committed Nov 10, 2022
1 parent f5c9a56 commit cef64c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def get_random_radio_stream(self) -> str:
# Next is either the next middleware in the stack or the handler.
Next = Callable[[Request], Awaitable[Response]]

# This middleware checks the `Conten-Type` from the request header,
# This middleware checks the `Content-Type` from the request header,
# logs some information depending on that and then calls `next`.
@app.middleware
async def check_content_type_header(request: Request, next: Next) -> Response:
Expand Down

0 comments on commit cef64c4

Please sign in to comment.