diff --git a/transport/http.go b/transport/http.go index d045a1edd..432d14add 100644 --- a/transport/http.go +++ b/transport/http.go @@ -307,7 +307,7 @@ func (t *HTTPTransport) SendProfile( for _, profileReader := range profileReaders { h = make(textproto.MIMEHeader) h.Set("Content-Disposition", fmt.Sprintf(`form-data; name="profile"`)) - h.Set("Content-Type", "application/x-protobuf; messageType=”perftools.profiles.Profile") + h.Set("Content-Type", `application/x-protobuf; messageType="perftools.profiles.Profile"`) part, err = w.CreatePart(h) if err != nil { return err diff --git a/transport/http_test.go b/transport/http_test.go index b16ceb1b1..bf2cb19ba 100644 --- a/transport/http_test.go +++ b/transport/http_test.go @@ -555,14 +555,14 @@ func TestHTTPTransportSendProfile(t *testing.T) { formName: "profile", header: makeHeader( "Content-Disposition", `form-data; name="profile"`, - "Content-Type", "application/x-protobuf; messageType=”perftools.profiles.Profile", + "Content-Type", `application/x-protobuf; messageType="perftools.profiles.Profile"`, ), content: "profile1", }, { formName: "profile", header: makeHeader( "Content-Disposition", `form-data; name="profile"`, - "Content-Type", "application/x-protobuf; messageType=”perftools.profiles.Profile", + "Content-Type", `application/x-protobuf; messageType="perftools.profiles.Profile"`, ), content: "profile2", }},