We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ReadSignals
1 parent ac15361 commit 43f32edCopy full SHA for 43f32ed
1 file changed
src/datastar_py/__init__.py
@@ -15,7 +15,7 @@ def _read_signals(
15
) -> dict[str, Any] | None:
16
if "Datastar-Request" not in headers:
17
return None
18
- if method == "GET":
+ if method in ("GET", "DELETE"):
19
data = params.get("datastar")
20
elif headers.get("Content-Type") == "application/json":
21
data = body
0 commit comments