[issue26527] CGI library - Using unicode in header fields

2016-03-10 Thread Olivier Le Moign
Olivier Le Moign added the comment: I guess this is fixed by https://pypi.python.org/pypi/rfc6266. Could have looked better, sorry. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26527] CGI library - Using unicode in header fields

2016-03-10 Thread Olivier Le Moign
New submission from Olivier Le Moign: According to RFC5987 (http://tools.ietf.org/html/rfc5987), it's possible to use other encoding than ASCII in header fields. Specifically in the CGI library, posting files with non-ASCII characters will lead the header to be (for example) filename*=utf-8