Simon Ser

Results 535 issues of Simon Ser

Not sure this is a good idea yet. Would need to have more use-cases in mind. Some users of the library may want *not* to use a streaming API, for...

enhancement
question

The algorithm mangling long lines is pretty messy. I'd rather not use it when not needed. See https://tools.ietf.org/html/rfc5322#section-2.1.1

enhancement
question

When the charset and `Content-Transfer-Encoding` haven't been modfiied, we can avoid decoding and re-encoding the entity's body. We can just pipe the original message's body. Related to https://github.com/emersion/go-message/issues/84

enhancement

Closes: https://github.com/emersion/go-message/issues/86

Add an `Entity.Reader` function which returns an `io.Reader` for the entity. This would allow users to read a header, inspect it and then forward the reader to someone else. Ideally...

enhancement

Add helpers for `Return-Path` and `Received`. These can contain CFWS, so the parser part will need to use `headerParser`. See https://tools.ietf.org/html/rfc5322#section-3.6.7

enhancement

It may be necessary to get the parent parts header when handling leaf parts, for instance to know if parts should be appended to each other (`multipart/related`) or if they...

enhancement

Same as `io.Pipe` but for messages. This would allow to chain message transformations without having to format and parse messages during each step.

enhancement

This documents a widely implemented practice. This allows clients to discover when this field is set to a meaningful value, and when it's not.

feedback wanted

Clients may want to strip that prefix to improve their UI.