diff options
| author | rr- | 2018-07-08 10:04:09 +0200 |
|---|---|---|
| committer | rr- | 2018-07-08 10:10:06 +0200 |
| commit | c9cb9aa5394d02582b1a716dd9e52e83391d9bea (patch) | |
| tree | f9511f9ec54426c70089fab57d23f1ec3f230537 /server/szurubooru/rest/context.py | |
| parent | d85e746a656ca213bad8ce8a725e734990b73f72 (diff) | |
server/password-reset: try to construct full URL
Diffstat (limited to 'server/szurubooru/rest/context.py')
| -rw-r--r-- | server/szurubooru/rest/context.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/szurubooru/rest/context.py b/server/szurubooru/rest/context.py index 6236754..2aad101 100644 --- a/server/szurubooru/rest/context.py +++ b/server/szurubooru/rest/context.py @@ -11,11 +11,13 @@ Response = Optional[Dict[str, Any]] class Context: def __init__( self, + env: Dict[str, Any], method: str, url: str, headers: Dict[str, str] = None, params: Request = None, files: Dict[str, bytes] = None) -> None: + self.env = env self.method = method self.url = url self._headers = headers or {} |