From a48617de6aeee647c037b067e29e0e458eec43aa Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 4 Jul 2017 18:10:41 +0100 Subject: [PATCH] Fix error --- http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.go b/http.go index aac225ff..9eac7f5e 100644 --- a/http.go +++ b/http.go @@ -149,7 +149,7 @@ func errorToHTTP(err error, gone bool) int { return http.StatusGone case os.IsExist(err): - return http.StatusGone + return http.StatusConflict default: return http.StatusInternalServerError }