tvl-depot/users/sterni/mblog
sterni 5bc73de59d feat: move mblog header handling into mime4cl
Accessing the headers of a MIME message feels like something mime4cl
should handle. We implemented this ad hoc in mblog before in order to
not need to worry about doing it in a sensible way. Now we introduce a
decent-ish interface for getting a header from a MIME message,
mime-message-header-values:

* It returns a list because MIME message headers may appear multiple
  times.

* It decodes RFC2047 only upon request, as you may want to be stricter
  about parsing certain fields.

* It checks header name equality case insensitively.

The code for decoding the RFC2047 string is retained and still uses
babel for doing the actual decoding.

Change-Id: I58bbbe4b46dbded04160b481a28a40d14775673d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5150
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-02 20:47:45 +00:00
..
.gitignore chore(sterni/mblog): add gitignore 2022-01-30 09:38:40 +00:00
cli.lisp feat(users/sterni/mblog): implement mblog executable 2022-02-02 20:47:45 +00:00
default.nix feat: move mblog header handling into mime4cl 2022-02-02 20:47:45 +00:00
maildir.lisp feat(sterni/mblog): add package to read maildirs 2022-01-30 09:38:40 +00:00
mblog.lisp feat(users/sterni/mblog): implement mblog executable 2022-02-02 20:47:45 +00:00
note.lisp feat: move mblog header handling into mime4cl 2022-02-02 20:47:45 +00:00
packages.lisp feat: move mblog header handling into mime4cl 2022-02-02 20:47:45 +00:00
transformer.lisp refactor(sterni/mblog): add (sub)class for apple note messages 2022-02-02 20:47:45 +00:00