Remove some debug stuff

This commit is contained in:
Felix Geisendörfer 2013-03-25 10:47:01 +01:00
parent 1e9c701aca
commit 145af6dbfb
1 changed files with 0 additions and 2 deletions

View File

@ -88,13 +88,11 @@ func reply(w http.ResponseWriter, code int, message string) {
func postFiles(w http.ResponseWriter, r *http.Request) { func postFiles(w http.ResponseWriter, r *http.Request) {
contentRange, err := parseContentRange(r.Header.Get("Content-Range")) contentRange, err := parseContentRange(r.Header.Get("Content-Range"))
if err != nil { if err != nil {
log.Print("FOO")
reply(w, http.StatusBadRequest, err.Error()) reply(w, http.StatusBadRequest, err.Error())
return return
} }
if contentRange.Size == -1 { if contentRange.Size == -1 {
log.Print("FOO2")
reply(w, http.StatusBadRequest, "Content-Range must indicate total file size.") reply(w, http.StatusBadRequest, "Content-Range must indicate total file size.")
return return
} }