Skip to content

Commit f2bbb92

Browse files
Update Misc/NEWS.d/next/Library/2024-12-11-17-44-36.gh-issue-127794.VwmRsp.rst
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 56a77e9 commit f2bbb92

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,5 +1,5 @@
11
The :meth:`email.message.Message.add_header` method now validates header
2-
field names according to :rfc:`RFC 5322 section 3.6.8 <5322#section-3.6.8>`
2+
field names according to :rfc:`RFC 5322, Section 3.6.8 <5322#section-3.6.8>`
33
and raises a :exc:`ValueError` if they contain invalid characters. A similar
44
argument applies if headers are added through :meth:`Message.__setitem__
55
<object.__setitem__>`.

0 commit comments

Comments
 (0)