Browse Source

Remove error

pull/16/head
andreimarcu 9 years ago
parent
commit
8a1b688b3c
  1. 2
      upload.go

2
upload.go

@ -51,8 +51,6 @@ func uploadPostHandler(c web.C, w http.ResponseWriter, r *http.Request) {
upReq.filename = r.URL.Query().Get("qqfile") upReq.filename = r.URL.Query().Get("qqfile")
} else if strings.HasPrefix(contentType, "multipart/form-data") { } else if strings.HasPrefix(contentType, "multipart/form-data") {
return
file, headers, err := r.FormFile("file") file, headers, err := r.FormFile("file")
if err != nil { if err != nil {
oopsHandler(c, w, r) oopsHandler(c, w, r)

Loading…
Cancel
Save