weboob.browser.cache: introduce CacheMixin and use it in github module
CacheMixin is a class for use in browsers that stores responses, and return them if the request is replayed (and optionally the server returned the same ETag). APIBrowser is modified to perform its request tweaks in build_request, so mixins benefit them.
parent
71335ce4
Please register or sign in to comment