summaryrefslogtreecommitdiff
path: root/Lib/http
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-08-30 10:47:49 -0700
committerRaymond Hettinger <python@rcn.com>2016-08-30 10:47:49 -0700
commit4846ba81c69ebc815b35a89ed54fef7b5ffb1417 (patch)
tree656d61b61f991d1188750ca86bf0578f986f8446 /Lib/http
parenta14d81c0a6ed62f9a411aa0b52ecb688a1ac51b9 (diff)
downloadcpython-4846ba81c69ebc815b35a89ed54fef7b5ffb1417.tar.gz
Issue #27895: Spelling fixes (Contributed by Ville Skytt?).
Diffstat (limited to 'Lib/http')
-rw-r--r--Lib/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 9d5cf4518f..9107412922 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -136,7 +136,7 @@ _MAXHEADERS = 100
#
# VCHAR defined in http://tools.ietf.org/html/rfc5234#appendix-B.1
-# the patterns for both name and value are more leniant than RFC
+# the patterns for both name and value are more lenient than RFC
# definitions to allow for backwards compatibility
_is_legal_header_name = re.compile(rb'[^:\s][^:\r\n]*').fullmatch
_is_illegal_header_value = re.compile(rb'\n(?![ \t])|\r(?![ \t\n])').search