diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/python/tornado/tornado-4 | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
download | ydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/tornado/tornado-4')
-rw-r--r-- | contrib/python/tornado/tornado-4/tornado/httputil.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/python/tornado/tornado-4/tornado/httputil.py b/contrib/python/tornado/tornado-4/tornado/httputil.py index 9654b5ab4b..b4de272c80 100644 --- a/contrib/python/tornado/tornado-4/tornado/httputil.py +++ b/contrib/python/tornado/tornado-4/tornado/httputil.py @@ -31,11 +31,11 @@ import numbers import re import time -try: - from collections.abc import MutableMapping -except ImportError: - from collections import MutableMapping - +try: + from collections.abc import MutableMapping +except ImportError: + from collections import MutableMapping + from tornado.escape import native_str, parse_qs_bytes, utf8 from tornado.log import gen_log from tornado.util import ObjectDict, PY3 @@ -108,7 +108,7 @@ class _NormalizedHeaderCache(dict): _normalized_headers = _NormalizedHeaderCache(1000) -class HTTPHeaders(MutableMapping): +class HTTPHeaders(MutableMapping): """A dictionary that maintains ``Http-Header-Case`` for all keys. Supports multiple values per key via a pair of new methods, |