OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
lib
/
python3.6
/
dist-packages
/
werkzeug
/
wrappers
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
09/19/2021 04:38:27 PM
rwxr-xr-x
📄
__init__.py
654 bytes
09/19/2021 04:38:25 PM
rw-r--r--
📁
__pycache__
-
09/19/2021 04:38:27 PM
rwxr-xr-x
📄
accept.py
429 bytes
09/19/2021 04:38:25 PM
rw-r--r--
📄
auth.py
856 bytes
09/19/2021 04:38:25 PM
rw-r--r--
📄
base_request.py
1.15 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
base_response.py
1.16 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
common_descriptors.py
898 bytes
09/19/2021 04:38:25 PM
rw-r--r--
📄
cors.py
846 bytes
09/19/2021 04:38:25 PM
rw-r--r--
📄
etag.py
846 bytes
09/19/2021 04:38:25 PM
rw-r--r--
📄
json.py
410 bytes
09/19/2021 04:38:25 PM
rw-r--r--
📄
request.py
24.24 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
response.py
34.35 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
user_agent.py
435 bytes
09/19/2021 04:38:25 PM
rw-r--r--
Editing: base_request.py
Close
import typing as t import warnings from .request import Request class _FakeSubclassCheck(type): def __subclasscheck__(cls, subclass: t.Type) -> bool: warnings.warn( "'BaseRequest' is deprecated and will be removed in" " Werkzeug 2.1. Use 'issubclass(cls, Request)' instead.", DeprecationWarning, stacklevel=2, ) return issubclass(subclass, Request) def __instancecheck__(cls, instance: t.Any) -> bool: warnings.warn( "'BaseRequest' is deprecated and will be removed in" " Werkzeug 2.1. Use 'isinstance(obj, Request)' instead.", DeprecationWarning, stacklevel=2, ) return isinstance(instance, Request) class BaseRequest(Request, metaclass=_FakeSubclassCheck): def __init__(self, *args: t.Any, **kwargs: t.Any) -> None: warnings.warn( "'BaseRequest' is deprecated and will be removed in" " Werkzeug 2.1. 'Request' now includes the functionality" " directly.", DeprecationWarning, stacklevel=2, ) super().__init__(*args, **kwargs)