Skip to content

Commit

Permalink
docs: fix simple typo, ougoging -> outgoing (#1120)
Browse files Browse the repository at this point in the history
There is a small typo in starlette/middleware/gzip.py.

Should read `outgoing` rather than `ougoging`.

Co-authored-by: Jamie Hewland <jhewland@gmail.com>
  • Loading branch information
timgates42 and JayH5 committed Feb 2, 2021
1 parent 2b83c8c commit b48b80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlette/middleware/gzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async def send_with_gzip(self, message: Message) -> None:
message_type = message["type"]
if message_type == "http.response.start":
# Don't send the initial message until we've determined how to
# modify the ougoging headers correctly.
# modify the outgoing headers correctly.
self.initial_message = message
elif message_type == "http.response.body" and not self.started:
self.started = True
Expand Down

0 comments on commit b48b80f

Please sign in to comment.