[issue29678] email.Message.get_params decodes only first one header value

2017-03-02 Thread R. David Murray
R. David Murray added the comment: Thanks for the response, but I do not believe that this is a bug. The python3 email package will decode the headers automatically if you use the new policies, so if you iterate through the headers, you'll get the decoded versions, with access to the parms dic

[issue29678] email.Message.get_params decodes only first one header value

2017-03-02 Thread Andrew Nester
Andrew Nester added the comment: Thanks for reporting! Just added PR fixing this. -- nosy: +andrewnester ___ Python tracker ___ ___ Py

[issue29678] email.Message.get_params decodes only first one header value

2017-03-02 Thread Andrew Nester
Changes by Andrew Nester : -- pull_requests: +326 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29678] email.Message.get_params decodes only first one header value

2017-02-28 Thread Sergey
Changes by Sergey : -- type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29678] email.Message.get_params decodes only first one header value

2017-02-28 Thread Sergey
New submission from Sergey: email.Message class has method get_params() that can decode(unquote) header values in compliance with RFC2231 and RFC2047. But if in email message exists multiple headers with the same key it can't be used to decode other headers than first. In my application I coul