urllib.error.HTTPError's stub declares hdrs: Message (non-optional); passing None works at runtime but fails strict type checking. Heretic's lint workflow runs ty over its full tree including the vendored shared/ snapshot, which is what caught this - construct an empty Message() instead, identical runtime behavior. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>