This is not the commit you are looking for

This commit is contained in:
andreimarcu 2015-10-01 13:01:44 -04:00
parent c339a8c770
commit 9cd20c81fc

View File

@ -56,7 +56,6 @@ func uploadPostHandler(c web.C, w http.ResponseWriter, r *http.Request) {
upReq.src = file upReq.src = file
upReq.filename = headers.Filename upReq.filename = headers.Filename
} else { } else {
fmt.Println(r.Header.Get("Content-Type"))
if r.FormValue("content") == "" { if r.FormValue("content") == "" {
oopsHandler(c, w, r) oopsHandler(c, w, r)
return return