From 04917e83076ae04a4bc12a7b88d9396e78cb9aba Mon Sep 17 00:00:00 2001 From: zhing Date: Sat, 18 Jul 2015 15:18:01 +0800 Subject: [PATCH] correct the mime type to x-protobuf --- binding/binding.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binding/binding.go b/binding/binding.go index 38d45e9..e1b5cee 100644 --- a/binding/binding.go +++ b/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 {