Skip to content

Commit 5f9d4a1

Browse files
authored
Update Misc/NEWS.d/next/Library/2024-12-11-17-44-36.gh-issue-127794.VwmRsp.rst
1 parent 958bcf3 commit 5f9d4a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
When headers are added to :class:`email.message.Message` objects, either through
22
:meth:`email.message.Message.__setitem__` or :meth:`email.message.Message.add_header`,
3-
the field name is now validated according to :rfc:`RFC 5322, Section 3.6.8 <5322#section-3.6.8>`
3+
the field name is now validated according to :rfc:`RFC 5322, Section 2.2 <5322#section-2.2>`
44
and a :exc:`ValueError` is raised if the field name contains any invalid characters.

0 commit comments

Comments
 (0)