diff options
-rw-r--r-- | paste/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/__init__.py b/paste/__init__.py index 76a20a3..83cd6b5 100644 --- a/paste/__init__.py +++ b/paste/__init__.py @@ -264,5 +264,6 @@ def application(environ: Env, start_response: StartResponse) -> Response: return [] elif environ["REQUEST_METHOD"] == "DELETE": store.delete(conn, name) - return simple_response(start_response, "204 No Content") + start_response("204 No Content", []) + return [] return simple_response(start_response, "500 Internal Server Error") |