Skip to content

Deal properly with header response

Fixes the current issue with the new collection listing endpoint [1]. Checking the docs [2], it was badly done so far.

This also fixes other inappropriately set or get response headers in the deposit code base (both production and tests).

Related to #2996 (closed)

Test Plan

tox

Hot fix in staging instance and it's fine (see swh/meta$1047)


Migrated from D5783 (view on Phabricator)

Merge request reports

Loading