by sergiusens:
When using Google's batch API for GMail, the responses contain a ContentType that looks
like this:
multipart/mixed; boundary=batch_Qau-LYGqak0=_AApYZR4VvsU=
This fails to work with ParseMediaType with an error of
mime: invalid media parameter
Here's a playground example: http://play.golang.org/p/3p6UFZau34
Removing the '='s from the boundary lead to a successful parsing of the Content Type.