HomeSoftware Heritage

api: Fix endpoint responses that must not be cached

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

api: Fix endpoint responses that must not be cached

Due to a recent factoring related to api_* decorators, the effect of
the never_cache django decorator was not applied anymore.

So add a never_cache parameter to the api_route decorator ensuring
cache-control reponse header will be set when required.

Also add missing tests checking cache-control header in api responses.

Closes T2810

Commit No Longer Exists

This commit no longer exists in the repository.