mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
This commit is contained in:
parent
613debcf0a
commit
15f44ab043
72 changed files with 121 additions and 121 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue