Browse Source

correct the mime type to x-protobuf

zhing 10 years ago
parent
commit
04917e8307
1 changed files with 1 additions and 1 deletions
  1. 1 1
      binding/binding.go

+ 1 - 1
binding/binding.go

@@ -14,7 +14,7 @@ const (
 	MIMEPlain             = "text/plain"
 	MIMEPlain             = "text/plain"
 	MIMEPOSTForm          = "application/x-www-form-urlencoded"
 	MIMEPOSTForm          = "application/x-www-form-urlencoded"
 	MIMEMultipartPOSTForm = "multipart/form-data"
 	MIMEMultipartPOSTForm = "multipart/form-data"
-	MIMEPROTOBUF          = "application/octet-stream"
+	MIMEPROTOBUF          = "application/x-protobuf"
 )
 )
 
 
 type Binding interface {
 type Binding interface {