Yep. That's what's produced by mime.FormatMediaType-- slashes and other reserved tokens require quoting according to the RFC, but the version number doesn't.

Bernerd

On Apr 25, 2013, at 18:56, "Matt T. Proud" <notifications@github.com> wrote:

> In prometheus/constants.go:
> 
> >  
> > -	// When reporting telemetric data over the HTTP web services interface, a web
> > -	// services interface shall include this header along with APIVersion as its
> > -	// value.
> > -	ProtocolVersionHeader = "X-Prometheus-API-Version"
> > +	// The content type and schema information set on telemetry data responses.
> > +	TelemetryContentType = `application/json; schema="prometheus/telemetry"; version=` + APIVersion
> You were quoting the other parameter values, but here APIVersion won't be.
> 
> —
> Reply to this email directly or view it on GitHub.