cpython/Lib/http
Miss Islington (bot) b2ff0f761d
gh-100001: Also escape \s in http.server log messages. (GH-100038)
Also \ escape \s in the http.server BaseHTTPRequestHandler.log_message so
that it is technically possible to parse the line and reconstruct what the
original data was.  Without this a \xHH is ambiguious as to if it is a hex
replacement we put in or the characters r"\x" came through in the original
request line.
(cherry picked from commit 7e29398407)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2022-12-05 14:53:41 -08:00
..
__init__.py gh-91996: Add an HTTPMethod StrEnum to http (GH-91997) 2022-05-05 15:39:02 -07:00
client.py Run Tools/scripts/reindent.py (GH-94225) 2022-06-26 01:56:55 -07:00
cookiejar.py Document that MozillaCookieJar works for curl's cookie files (GH-91852) 2022-10-03 15:46:23 -07:00
cookies.py bpo-39481: PEP 585 for a variety of modules (GH-19423) 2020-04-10 07:46:36 -07:00
server.py gh-100001: Also escape \s in http.server log messages. (GH-100038) 2022-12-05 14:53:41 -08:00