return bad request #25
This commit is contained in:
parent
4e212fe2a5
commit
c7798814ea
|
@ -52,7 +52,7 @@ func POST(w http.ResponseWriter, r *http.Request, c *config.Config, filename str
|
||||||
|
|
||||||
file = f
|
file = f
|
||||||
default:
|
default:
|
||||||
return http.StatusNotFound, nil
|
return http.StatusBadRequest, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write the file
|
// Write the file
|
||||||
|
|
Loading…
Reference in New Issue