File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ async def _check_protocol(self, event: h11.Request) -> None:
304304 has_body = True
305305
306306 # h2c Upgrade requests with a body are a pain as the body must
307- # be fully recieved in HTTP/1.1 before the upgrade response
307+ # be fully received in HTTP/1.1 before the upgrade response
308308 # and HTTP/2 takes over, so Hypercorn ignores the upgrade and
309309 # responds in HTTP/1.1. Use a preflight OPTIONS request to
310310 # initiate the upgrade if really required (or just use h2).
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ async def initiate(
141141 self .task_group .spawn (self .send_task )
142142
143143 async def send_task (self ) -> None :
144- # This should be run in a seperate task to the rest of this
145- # class. This allows it seperately choose when to send,
144+ # This should be run in a separate task to the rest of this
145+ # class. This allows it separately choose when to send,
146146 # crucially in what order.
147147 while not self .closed :
148148 try :
@@ -348,7 +348,7 @@ async def _create_stream(self, request: h2.events.RequestReceived) -> None:
348348 try :
349349 self .priority .insert_stream (request .stream_id )
350350 except priority .DuplicateStreamError :
351- # Recieved PRIORITY frame before HEADERS frame
351+ # Received PRIORITY frame before HEADERS frame
352352 pass
353353 else :
354354 self .priority .block (request .stream_id )
You can’t perform that action at this time.
0 commit comments