owmeta_core.requests_sessions module

A collection of functions that produce requests.Session objects.

A few methods request a “session provider”. The functions in here are providers of that kind

owmeta_core.requests_sessions.caching()[source]

Provides a requests.Session that puts cached responses in .owmeta_http_cache

In absence of explict cache-control headers, uses a heuristic of caching cacheable responses for up to a day.