return bad request #25

This commit is contained in:
Henrique Dias 2015-10-12 21:58:14 +01:00
parent 4e212fe2a5
commit c7798814ea
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func POST(w http.ResponseWriter, r *http.Request, c *config.Config, filename str
file = f
default:
return http.StatusNotFound, nil
return http.StatusBadRequest, nil
}
// Write the file