New submission from Aliona Matveeva <yellal...@gmail.com>:
http.client trying to decode any header with 'latin-1', which fails when there is any non-ascii symbols in it, for example, Cyrillic. I propose to check if it's non-ascii and then decode it with 'utf-8', works perfectly. ---------- components: Library (Lib) messages: 376047 nosy: yellalena priority: normal severity: normal status: open title: http.client not allowing non-ascii in headers versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41658> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com