Fetch List-Unsubscribe as URLs, the form RFC 8621 gives it #76

Merged
jcoffey-dev merged 1 commits from fix/list-unsubscribe-as-urls into main 2026-10-27 06:56:38 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev f10f91d5d9 Fetch List-Unsubscribe as URLs, the form RFC 8621 gives it
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m43s
ci / announce (pull_request) Skipped
List-Unsubscribe is an RFC 2369 header, and RFC 8621 4.1.2.3 allows the
Text form only for headers outside RFC 5322 and RFC 2369. The server answers
it today, but a stricter server refuses the whole Email/get with
invalidArguments, so no message can be opened. asURLs returns the list the
reader was extracting by hand.

Also drops the unused Return-Path and Received asText typings, which are
invalid for the same reason.
2026-10-26 23:41:29 -07:00