Taken from https://github.com/reclosedev/requests-cache/tree/v0.5.0
since pip dependencies is still not supported for QGIS plugins...

(see changes : https://github.com/reclosedev/requests-cache/pull/129 and https://github.com/reclosedev/requests-cache/pull/134)
