wsgi: fix py2 compatibility

master
pictuga 2022-01-01 12:35:41 +01:00
parent 917aa0fbc5
commit 87d2fe772d
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ def cgi_handle_request():
class WSGIRequestHandlerRequestUri(wsgiref.simple_server.WSGIRequestHandler):
def get_environ(self):
env = super().get_environ()
env = wsgiref.simple_server.WSGIRequestHandler.get_environ(self)
env['REQUEST_URI'] = self.path
return env