More linter issues
This commit is contained in:
parent
ab3d59a74f
commit
d04fc29223
|
@ -1,5 +1,6 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
||||||
token, quoted = r"([\w!#$%&'*+\-.^_`|~]+)", r'"((?:[^"]|\\")*)"'
|
token, quoted = r"([\w!#$%&'*+\-.^_`|~]+)", r'"((?:[^"]|\\")*)"'
|
||||||
parameter = re.compile(fr";\s*{token}=(?:{token}|{quoted})", re.ASCII)
|
parameter = re.compile(fr";\s*{token}=(?:{token}|{quoted})", re.ASCII)
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,9 @@ from urllib.parse import parse_qs, parse_qsl, unquote, urlunparse
|
||||||
from httptools import parse_url
|
from httptools import parse_url
|
||||||
|
|
||||||
from sanic.exceptions import InvalidUsage
|
from sanic.exceptions import InvalidUsage
|
||||||
from sanic.log import error_logger, logger
|
|
||||||
from sanic.headers import parse_options_header
|
from sanic.headers import parse_options_header
|
||||||
|
from sanic.log import error_logger, logger
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from ujson import loads as json_loads
|
from ujson import loads as json_loads
|
||||||
|
|
Loading…
Reference in New Issue
Block a user