Skip to content
#

mime

Here are 249 public repositories matching this topic...

kadukf-outreach
kadukf-outreach commented Jan 28, 2022

What I did:
Parsing a message which has text/html part but it contains also "boundary" marker. I know, this is an strange case but we have the messages with it.

IMO, https://github.com/jhillyerd/enmime/blob/1f2f4b04f3877165dda8357742c6d00ae09a1652/part.go#L404 we could check if the content type with "detectTextHeader", wdyt?

Or reporting it with error and providing content to the part. I

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

good first issue topic: mime type clarification

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