ソースを参照

correct the mime type to x-protobuf

zhing 10 年 前
コミット
04917e8307
1 ファイル変更1 行追加1 行削除
  1. 1 1
      binding/binding.go

+ 1 - 1
binding/binding.go

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