list-unsubscribe 0.1.3

Parse RFC 2369 List-Unsubscribe and RFC 8058 List-Unsubscribe-Post headers into a typed action enum.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "name": "empty-header",
  "description": "Empty List-Unsubscribe header. Returns None.",
  "spec": {
    "source": "RFC 2369",
    "url": "https://www.rfc-editor.org/rfc/rfc2369#section-3.2",
    "behavior": "An empty header is treated as 'no method offered'."
  },
  "input": {
    "list_unsubscribe": "",
    "list_unsubscribe_post": null
  },
  "expected": {
    "kind": "None"
  }
}