Consume body on DELETE by default (#2711)

This commit is contained in:
Adam Hopkins 2023-03-15 18:42:45 +02:00 committed by GitHub
parent d62a92fac9
commit 5a0ed75171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -546,7 +546,7 @@ class RouteMixin(BaseMixin, metaclass=SanicMeta):
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,