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 }