mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Rename RequestParameters to MultiParams, refs #799
This commit is contained in:
parent
0c064c5fe2
commit
0da7f49b24
5 changed files with 36 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import json
|
||||
from datasette.utils import RequestParameters
|
||||
from datasette.utils import MultiParams
|
||||
from mimetypes import guess_type
|
||||
from urllib.parse import parse_qs, urlunparse, parse_qsl
|
||||
from pathlib import Path
|
||||
|
|
@ -68,7 +68,7 @@ class Request:
|
|||
|
||||
@property
|
||||
def args(self):
|
||||
return RequestParameters(parse_qs(qs=self.query_string))
|
||||
return MultiParams(parse_qs(qs=self.query_string))
|
||||
|
||||
async def post_vars(self):
|
||||
body = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue