summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 (GMT)
commit6507657dddebc629e49f3dc683d89a96a481fb86 (patch)
treeb4981bd2f6b8f9954d70a03d4cca7e0c7cdba840 /Lib/httplib.py
parent6eec87810fcf75249cb1060424f69ef5859e3fb1 (diff)
downloadcpython-6507657dddebc629e49f3dc683d89a96a481fb86.zip
cpython-6507657dddebc629e49f3dc683d89a96a481fb86.tar.gz
cpython-6507657dddebc629e49f3dc683d89a96a481fb86.tar.bz2
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r--Lib/httplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py
index 7223ba1..f32fa4f 100644
--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@@ -242,7 +242,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(r'\A[^:\s][^:\r\n]*\Z').match
_is_illegal_header_value = re.compile(r'\n(?![ \t])|\r(?![ \t\n])').search