mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
request.post_vars() no longer discards empty values
This commit is contained in:
parent
9690ce6068
commit
0934844c0b
2 changed files with 7 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ class Request:
|
|||
body += message.get("body", b"")
|
||||
more_body = message.get("more_body", False)
|
||||
|
||||
return dict(parse_qsl(body.decode("utf-8")))
|
||||
return dict(parse_qsl(body.decode("utf-8"), keep_blank_values=True))
|
||||
|
||||
@classmethod
|
||||
def fake(cls, path_with_query_string, method="GET", scheme="http"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue