mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
6c7ec7282b
commit
11749e2dc2
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