Home
last modified time | relevance | path

Searched refs:_is_legal_header_name (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
Dhttplib.py247 _is_legal_header_name = re.compile(r'\A[^:\s][^:\r\n]*\Z').match variable
1014 if not _is_legal_header_name(header):
/external/python/cpython3/Lib/http/
Dclient.py140 _is_legal_header_name = re.compile(rb'[^:\s][^:\r\n]*').fullmatch variable
1196 if not _is_legal_header_name(header):