No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lodelrequest.py 387B

123456789101112
  1. from werkzeug.wrappers import Request
  2. from werkzeug.urls import url_decode
  3. class LodelRequest(Request):
  4. def __init__(self, environ):
  5. super().__init__(environ)
  6. self.PATH = self.path.lstrip('/')
  7. self.FILES = self.files.to_dict(flat=False)
  8. self.GET = url_decode(self.query_string).to_dict(flat=False)
  9. self.POST = self.form.to_dict(flat=False)