-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
RFC 2046 requires that text/* types use CRLF as linebreaks, which is how the grammar is currently written. However, I suspect that many actual diff outputs would not actually adhere to this on a byte-for-byte basis. In particular, I suspect that most Unix diffs will just use newlines. There are a few possibilities for addressing this:
- Just allow multiple linebreak types, so long as they are consistent through the file (this is the RFC 2616 approach for HTTP)
- Register it as application/diff instead of text/diff.
- Augment the grammar to allow for multiple (but consistent) linebreak styles. This might mean that a newline-terminated patch file might "look" to a generic text/plain processor as a single long line, but maybe that's ok.
Metadata
Metadata
Assignees
Labels
No labels