summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-08-30 17:47:49 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-08-30 17:47:49 (GMT)
commit15f44ab043b37c064d6891c7864205fed9fb0dd1 (patch)
tree726736587da36fbfebc1dfb12c4d9c14e6bf9a61 /Lib/http
parent613debcf0a0409b49ad4e1ee63dfc73119029755 (diff)
downloadcpython-15f44ab043b37c064d6891c7864205fed9fb0dd1.zip
cpython-15f44ab043b37c064d6891c7864205fed9fb0dd1.tar.gz
cpython-15f44ab043b37c064d6891c7864205fed9fb0dd1.tar.bz2
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 9d5cf45..9107412 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