From 5a0ed75171c1e96130b23f728e9c36f41627159c Mon Sep 17 00:00:00 2001 From: Adam Hopkins Date: Wed, 15 Mar 2023 18:42:45 +0200 Subject: [PATCH] Consume body on DELETE by default (#2711) --- sanic/mixins/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/mixins/routes.py b/sanic/mixins/routes.py index a0c5536f67..4954027945 100644 --- a/sanic/mixins/routes.py +++ b/sanic/mixins/routes.py @@ -546,7 +546,7 @@ def delete( strict_slashes: Optional[bool] = None, version: Optional[Union[int, str, float]] = None, name: Optional[str] = None, - ignore_body: bool = True, + ignore_body: bool = False, version_prefix: str = "/v", error_format: Optional[str] = None, **ctx_kwargs: Any,