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

mime

Here are 202 public repositories matching this topic...

jnury
jnury commented Jan 22, 2020

What I did: json.Marshal(envelope)

What I expected: convert an Envelope object into Json

What I got: a stack overflow when envelope contains at least one part

Release or branch I am using: master

Please find attached a file to reproduce. As I understand the problem, there is an infinite loop while walking the Envelope object as we can go to Envelope.Root.FirstChild.Parent.FirstChild.Pa

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

You can’t perform that action at this time.