mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
736ed6f7a9
commit
17b16e13bb
24 changed files with 1023 additions and 1023 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue