Skip to content

Commit 206624a

Browse files
committed
Standard spelling on "an HTTP".
1 parent 98f236f commit 206624a

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

docs/project/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Bug fixes
7373

7474
* The new :mod:`asyncio` and :mod:`threading` implementations of servers don't
7575
start the connection handler anymore when ``process_request`` or
76-
``process_response`` returns a HTTP response.
76+
``process_response`` returns an HTTP response.
7777

7878
13.0.1
7979
------

docs/reference/features.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,9 @@ Client
161161
| Perform HTTP Digest Authentication |||||
162162
| (`#784`_) | | | | |
163163
+------------------------------------+--------+--------+--------+--------+
164-
| Connect via a HTTP proxy (`#364`_) |||||
164+
| Connect via HTTP proxy (`#364`_) |||||
165165
+------------------------------------+--------+--------+--------+--------+
166-
| Connect via a SOCKS5 proxy |||||
167-
| (`#475`_) | | | | |
166+
| Connect via SOCKS5 proxy (`#475`_) |||||
168167
+------------------------------------+--------+--------+--------+--------+
169168

170169
.. _#364: https://github.com/python-websockets/websockets/issues/364
@@ -179,7 +178,7 @@ There is no way to control compression of outgoing frames on a per-frame basis
179178

180179
.. _#538: https://github.com/python-websockets/websockets/issues/538
181180

182-
The server doesn't check the Host header and doesn't respond with a HTTP 400 Bad
181+
The server doesn't check the Host header and doesn't respond with HTTP 400 Bad
183182
Request if it is missing or invalid (`#1246`).
184183

185184
.. _#1246: https://github.com/python-websockets/websockets/issues/1246

src/websockets/asyncio/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ async def handshake(
203203
# self.protocol.handshake_exc is always set when the connection is lost
204204
# before receiving a request, when the request cannot be parsed, when
205205
# the handshake encounters an error, or when process_request or
206-
# process_response sends a HTTP response that rejects the handshake.
206+
# process_response sends an HTTP response that rejects the handshake.
207207

208208
if self.protocol.handshake_exc is not None:
209209
raise self.protocol.handshake_exc

src/websockets/sync/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def handshake(
168168
# self.protocol.handshake_exc is always set when the connection is lost
169169
# before receiving a request, when the request cannot be parsed, when
170170
# the handshake encounters an error, or when process_request or
171-
# process_response sends a HTTP response that rejects the handshake.
171+
# process_response sends an HTTP response that rejects the handshake.
172172

173173
if self.protocol.handshake_exc is not None:
174174
raise self.protocol.handshake_exc

0 commit comments

Comments
 (0)