|
@ -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 |
|
|