[issue41658] http.client not allowing non-ascii in headers

2020-08-29 Thread Aliona Matveeva
Aliona Matveeva added the comment: hi Karthikeyan Singaravelan! I'm working with a russian database called 1C. it's pretty popular here in Russia, and its 'twist' is that everything there (I mean code) is written in Russian, i.e. cyrillic. So it's obvious and normal

[issue41658] http.client not allowing non-ascii in headers

2020-08-28 Thread Aliona Matveeva
New submission from Aliona Matveeva : 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. -