From c7798814ea75c93cd2f2f749780c0f65ed79f951 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 12 Oct 2015 21:58:14 +0100 Subject: [PATCH] return bad request #25 --- editor/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/post.go b/editor/post.go index 936848ab..748a24f9 100644 --- a/editor/post.go +++ b/editor/post.go @@ -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