Procházet zdrojové kódy

correct the mime type to x-protobuf

zhing před 10 roky
rodič
revize
04917e8307
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {