Tornado 6.0 Documentation
section 3.5: a recipient MAY recognize a single LF as a line # terminator and ignore any preceding CR. _CRLF_RE = re.compile(r"\r?\n") class _NormalizedHeaderCache(dict): """Dynamic cached mapping coroutine, so we can rely on the cr_running attribute. if self._test_generator is not None and getattr( self._test_generator, "cr_running", True ):0 码力 | 869 页 | 692.83 KB | 1 年前3Tornado 6.1 Documentation
5: a recipient MAY recognize a single LF as a line # terminator and ignore any preceding CR. for line in headers.split("\n"): if line.endswith("\r"): line = line[:-1] coroutine, so we can rely on the cr_running attribute. if self._test_generator is not None and getattr( self._test_generator, "cr_running", True ):0 码力 | 931 页 | 708.03 KB | 1 年前3Tornado 6.5 Documentation
deprecated features of HTTP will become errors. Specifically, line folding and the use of LF (with CR) as a line separator will be removed. classmethod parse(headers: str, *, _chars_are_bytes: bool =0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
deprecated features of HTTP will become errors. Specifically, line folding and the use of LF (with CR) as a line separator will be removed.classmethod parse(headers: str [https://docs.python.org/3/library/stdtypes0 码力 | 437 页 | 405.14 KB | 2 月前3
共 4 条
- 1