More linter issues

This commit is contained in:
L. Kärkkäinen 2019-07-30 07:17:08 +03:00
parent ab3d59a74f
commit d04fc29223
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import re
token, quoted = r"([\w!#$%&'*+\-.^_`|~]+)", r'"((?:[^"]|\\")*)"'
parameter = re.compile(fr";\s*{token}=(?:{token}|{quoted})", re.ASCII)

View File

@ -11,8 +11,9 @@ from urllib.parse import parse_qs, parse_qsl, unquote, urlunparse
from httptools import parse_url
from sanic.exceptions import InvalidUsage
from sanic.log import error_logger, logger
from sanic.headers import parse_options_header
from sanic.log import error_logger, logger
try:
from ujson import loads as json_loads