Rename RequestParameters to MultiParams, refs #799

This commit is contained in:
Simon Willison 2020-06-05 10:52:50 -07:00
commit 0da7f49b24
5 changed files with 36 additions and 16 deletions

View file

@ -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 = []