We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d811c30 commit f197debCopy full SHA for f197deb
request.go
@@ -195,10 +195,7 @@ func (r *Request) parseParams() (err os.Error) {
195
r.Params = map[string]string{}
196
json.Unmarshal(b, r.Params)
197
case "multipart/form-data":
198
- _, params, err := mime.ParseMediaType(ct)
199
- if err != nil {
200
- return err
201
- }
+ _, params := mime.ParseMediaType(ct)
202
boundary, ok := params["boundary"]
203
if !ok {
204
return os.NewError("Missing Boundary")
@@ -224,10 +221,7 @@ func (r *Request) parseParams() (err os.Error) {
224
221
continue
225
222
}
226
223
name := part.FormName()
227
- d, params, err := mime.ParseMediaType(v)
228
229
230
+ d, params := mime.ParseMediaType(v)
231
if d != "form-data" {
232
233
0 commit comments