We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31edff1 commit 56a77e9Copy full SHA for 56a77e9
Misc/NEWS.d/next/Library/2024-12-11-17-44-36.gh-issue-127794.VwmRsp.rst
@@ -1,4 +1,5 @@
1
The :meth:`email.message.Message.add_header` method now validates header
2
-field names according to :rfc:`5322` and raises a :exc:`ValueError` if
3
-they contain invalid characters. A similar argument applies if headers
4
-are added through :meth:`Message.__setitem__ <object.__setitem__>`.
+field names according to :rfc:`RFC 5322 section 3.6.8 <5322#section-3.6.8>`
+and raises a :exc:`ValueError` if they contain invalid characters. A similar
+argument applies if headers are added through :meth:`Message.__setitem__
5
+<object.__setitem__>`.
0 commit comments