This is not the commit you are looking for
This commit is contained in:
parent
c339a8c770
commit
9cd20c81fc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user