purebred-mua / purebred-email

A fast email parsing library implemented in Haskell
https://hackage.haskell.org/package/purebred-email
GNU Affero General Public License v3.0
23 stars 4 forks source link

support MIME parameter value charset, language and continuations #6

Closed frasertweedale closed 6 years ago

frasertweedale commented 6 years ago

https://tools.ietf.org/html/rfc2231 defines mechanisms for indicating charset and language in a header field.

It also defines a parameter value continuation mechanism, for wrapping parameter values that exceed the line length limit into multiple parameters. This is particular important for the Content-Disposition filename parameter.

Implement support for these mechanisms.

frasertweedale commented 6 years ago

completed in 42afd3b36f1d8d2ae439bed31dee9f784c86c847.

Note that continuations have not been tested against real mail yet. For that we need Content-Disposition header support and attachment processing.