mirror of https://github.com/gin-gonic/gin.git
correct the mime type to x-protobuf
This commit is contained in:
parent
9d644d22e0
commit
04917e8307
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue