The Wayback Machine - https://web.archive.org/web/20211102132444/https://github.com/topics/mime
Skip to content
#

mime

Here are 236 public repositories matching this topic...

jimidle
jimidle commented Aug 1, 2021

It would be useful to have a helper func something like ContentReader() the creates a reader from the []byte of Part.Content. It's not difficult to do this of course, but this would be an easy to provide helper function so that the mechanics can be encapsulated.

Release or branch I am using:

github.com/jhillyerd/enmime v0.9.0

(Please attach a sample message if you feel it will help repro

dd8
dd8 commented Apr 10, 2018

In https://mimesniff.spec.whatwg.org/#parsing-a-mime-type the following step might be clearer if it explicitly said the trailing sequence after " was to be discarded. Might also be better if the example contains a ';' since the step mentions ';'

Current:

Collect a sequence of code points that are not U+003B (;) from input, given position.
Example: Given text/html;charset="shift_jis"iso-20

Improve this page

Add a description, image, and links to the mime topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mime topic, visit your repo's landing page and select "manage topics."

Learn more