We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf7b21d commit 2106999Copy full SHA for 2106999
azure/functions/_http_wsgi.py
@@ -29,8 +29,9 @@ def __init__(self,
29
# Implement interfaces for PEP 3333 environ
30
self.request_method = getattr(func_req, 'method', None)
31
self.script_name = ''
32
- self.path_info = unquote_to_bytes(getattr(url, 'path', None)).decode( #ignore
33
- 'latin-1' if type(self) is WsgiRequest else 'utf-8'
+ self.path_info = (
+ unquote_to_bytes(getattr(url, 'path', None)) # type: ignore
34
+ .decode('latin-1' if type(self) is WsgiRequest else 'utf-8')
35
)
36
37
self.query_string = getattr(url, 'query', None)
0 commit comments