mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 11749e2dc2
)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
parent
0ea5e0d792
commit
6fc1efa454
61 changed files with 109 additions and 107 deletions
|
@ -1147,7 +1147,7 @@ class NTEventLogHandler(logging.Handler):
|
|||
|
||||
class HTTPHandler(logging.Handler):
|
||||
"""
|
||||
A class which sends records to a Web server, using either GET or
|
||||
A class which sends records to a web server, using either GET or
|
||||
POST semantics.
|
||||
"""
|
||||
def __init__(self, host, url, method="GET", secure=False, credentials=None,
|
||||
|
@ -1196,7 +1196,7 @@ class HTTPHandler(logging.Handler):
|
|||
"""
|
||||
Emit a record.
|
||||
|
||||
Send the record to the Web server as a percent-encoded dictionary
|
||||
Send the record to the web server as a percent-encoded dictionary
|
||||
"""
|
||||
try:
|
||||
import urllib.parse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue