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 6a16e04 commit 9150cfaCopy full SHA for 9150cfa
azure/functions/_http_wsgi.py
@@ -30,7 +30,10 @@ def __init__(self,
30
self.request_method = getattr(func_req, 'method', None)
31
self.script_name = ''
32
self.path_info = unquote_to_bytes(
33
- getattr(url, 'path', None)).decode('utf-8') # type: ignore
+ getattr(url, 'path', None)).decode('latin-1'
34
+ if type(self) is WsgiRequest
35
+ else 'utf-8') # type: ignore
36
+
37
self.query_string = getattr(url, 'query', None)
38
self.content_type = self._lowercased_headers.get('content-type')
39
self.content_length = str(len(func_req_body))
0 commit comments