SIGN IN SIGN UP

[3.14] gh-139434: Update selected RFC 2822 references to RFC 5322 (GH-139435) (#141025)

Update selected RFC 2822 references to RFC 5322

RFC 2822 was obsoleted by RFC 5322 in 2008. This updates references
to use the current standard in documentation, docstrings, and comments.

It preserves RFC 2822 references in legacy API components to maintain their
historical context.

RFC 822 → RFC 2822 → RFC 5322 progression is explained where relevant.

In some places specific sections of RFC are referenced where it seems helpful.

Scout rule was applied in some places and RFC mentions format was
normalized in doc strings and comments.
(cherry picked from commit ce1bb85d286130f44b7e874430b0b12990d61dc1)
F
Filip Łajszczak committed
dc76de26e5f25f14aae0470297788c6be08213f0
Parent: f0eb7d4
Committed by GitHub <noreply@github.com> on 11/4/2025, 9:23:16 PM