PHP 8.2.30
Preview: wrapper.py Size: 498 B
//proc/thread-self/root/usr/lib/python3.6/site-packages/pip/_vendor/cachecontrol/wrapper.py

from .adapter import CacheControlAdapter
from .cache import DictCache


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

    cache = cache or DictCache()
    adapter = CacheControlAdapter(
        cache,
        cache_etags=cache_etags,
        serializer=serializer,
        heuristic=heuristic,
    )
    sess.mount('http://', adapter)
    sess.mount('https://', adapter)

    return sess

Directory Contents

Dirs: 2 × Files: 10

Name Size Perms Modified Actions
caches DIR
- drwxr-xr-x 2024-06-15 07:03:53
Edit Download
- drwxr-xr-x 2024-06-15 07:03:53
Edit Download
4.50 KB lrw-r--r-- 2024-04-06 13:40:45
Edit Download
790 B lrw-r--r-- 2024-04-06 13:40:45
Edit Download
380 B lrw-r--r-- 2024-04-06 13:40:45
Edit Download
12.72 KB lrw-r--r-- 2024-04-06 13:40:45
Edit Download
2.47 KB lrw-r--r-- 2024-04-06 13:40:45
Edit Download
4.04 KB lrw-r--r-- 2024-04-06 13:40:45
Edit Download
6.38 KB lrw-r--r-- 2024-04-06 13:40:45
Edit Download
498 B lrw-r--r-- 2024-04-06 13:40:45
Edit Download
1.29 KB lrw-r--r-- 2024-04-06 13:40:45
Edit Download
302 B lrw-r--r-- 2024-04-06 13:40:45
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).