Skip to content

Commit

Permalink
Improve blurb message
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasreddy committed Dec 18, 2024
1 parent 541f59b commit 3ac53da
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
The :meth:`email.message.Message.add_header` method now validates header
field names according to :rfc:`5322`.
field names according to :rfc:`5322` when headers are added via add_header
or __setitem__ and raises a ValueError if they contain invalid characters.

0 comments on commit 3ac53da

Please sign in to comment.