diff --git a/handler.go b/handler.go index cfa0c47..9b0fb9f 100644 --- a/handler.go +++ b/handler.go @@ -446,7 +446,7 @@ func (handler *Handler) sendError(w http.ResponseWriter, r *http.Request, err er w.Header().Set("Content-Type", "text/plain") w.Header().Set("Content-Length", strconv.Itoa(len(reason))) w.WriteHeader(status) - w.Write([]byte(err.Error() + "\n")) + w.Write([]byte(err.Error())) } // Make an absolute URLs to the given upload id. If the base path is absolute