← 输入框|bugs.python.org|刷新

➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 r.david.murray
收信人 Jeffrey.Kintscher, barry, equaeghe, r.david.murray
日期 2020-08-17.20:29:11
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1597696151.96.0.924997738358.issue41553@roundup.psfhosted.org>
In-reply-to
内容
Yes for the registry changes.  I thought we had fixed the bug that was causing message-id to get encoded, but maybe it still exists in 3.7?  I don't remember when we fixed it (and I may be remembering wrong!)

As for X- "unstructured headers" getting trashed, by *definition* in the rfc, if the header body is unstructured it must support RFC encoding.  If does not, it is not an unstructured header field.  Which is why I said we need to think about what characteristics the default parser should have.  The RFC doesn't really speak to that, it expects every header to be one of the defined types...but while an X- header might be of a defined type, the email package can't know that unless it is told, so what should we use as the default parsing strategy?  "text without encoded words" isn't really RFC compliant, I think.  (Though I'll admit it has been a while since I last reviewed the relevant RFCs.)

Note that I believe that we have an open issue (or at least an open discussion) that we should change the 'refold_source' default from 'long' to 'none', which means that X- headers would at least be passed through by default.  It would also mitigate this problem, and can be used as a local workaround for headers that are just getting passed through and not modified.
历史
日期 用户 动作 参数
2020-08-17 20:29:12r.david.murray修改recipients: + r.david.murray, barry, equaeghe, Jeffrey.Kintscher
2020-08-17 20:29:11r.david.murray修改messageid: <1597696151.96.0.924997738358.issue41553@roundup.psfhosted.org>
2020-08-17 20:29:11r.david.murray链接issue41553 messages
2020-08-17 20:29:11r.david.murray创建