Open NRodriguezcuellar opened 2 years ago
if files are restricted the cache-control header will now be set to "no-cache" so that resources are always checked to be fresh before being served.
some context on this PR can be found here: https://codimd.web.cern.ch/DpHiJGHSRlGGyPg1KNTcmw#
partly closes https://github.com/inveniosoftware/invenio-communities/issues/718
LGTM! Tests failing because of FAILED invenio_files_rest/helpers.py::PYCODESTYLE.
FAILED invenio_files_rest/helpers.py::PYCODESTYLE
LGTM, but can you fix the tests?
if files are restricted the cache-control header will now be set to "no-cache" so that resources are always checked to be fresh before being served.
some context on this PR can be found here: https://codimd.web.cern.ch/DpHiJGHSRlGGyPg1KNTcmw#
partly closes https://github.com/inveniosoftware/invenio-communities/issues/718