summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2021-06-13 02:47:44 (GMT)
committerGitHub <noreply@github.com>2021-06-13 02:47:44 (GMT)
commit17b16e13bb444001534ed6fccb459084596c8bcf (patch)
tree569101fcca308843dd1ff731dbd74682d7700f6f /Lib/http
parent736ed6f7a9f465ba728198e8bca81e5fbe71bc37 (diff)
downloadcpython-17b16e13bb444001534ed6fccb459084596c8bcf.zip
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.gz
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.bz2
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/http')
-rw-r--r--Lib/http/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/server.py b/Lib/http/server.py
index e985dfd..4f9b8a1 100644
--- a/Lib/http/server.py
+++ b/Lib/http/server.py
@@ -704,7 +704,7 @@ class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
# The test for this was added in test_httpserver.py
# However, some OS platforms accept a trailingSlash as a filename
# See discussion on python-dev and Issue34711 regarding
- # parseing and rejection of filenames with a trailing slash
+ # parsing and rejection of filenames with a trailing slash
if path.endswith("/"):
self.send_error(HTTPStatus.NOT_FOUND, "File not found")
return None