404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.137.142.253: ~ $
from .adapter import CacheControlAdapter
from .cache import DictCache


def CacheControl(
    sess,
    cache=None,
    cache_etags=True,
    serializer=None,
    heuristic=None,
    controller_class=None,
    adapter_class=None,
    cacheable_methods=None,
):

    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

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 2755
caches Folder 2755
__init__.py File 302 B 0644
_cmd.py File 1.26 KB 0644
adapter.py File 4.77 KB 0644
cache.py File 805 B 0644
compat.py File 695 B 0644
controller.py File 13.82 KB 0644
filewrapper.py File 2.47 KB 0644
heuristics.py File 3.97 KB 0644
serialize.py File 6.92 KB 0644
wrapper.py File 690 B 0644