Merge branch 'multipart-form-data-fix' of https://github.com/konjoot/gin

- the merge was manually modified before committing.
This commit is contained in:
Manu Mtz-Almeida
2015-05-26 16:47:10 +02:00
3 changed files with 71 additions and 3 deletions

View File

@ -42,7 +42,7 @@ func Default(method, contentType string) Binding {
return JSON
case MIMEXML, MIMEXML2:
return XML
default:
default: //case MIMEPOSTForm, MIMEMultipartPOSTForm:
return Form
}
}