Page MenuHomeSoftware Heritage

Deal properly with header response

Authored by ardumont on May 25 2021, 6:10 PM.



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 T2996

Test Plan


Hot fix in staging instance and it's fine (see P1052)

Diff Detail

rDDEP Push deposit
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D5783 (id=20676)

Rebasing onto 3a23a50c35...

Current branch diff-target is up to date.
Changes applied before test
commit df680cc8c31738ae443a4d8a5993f4d77ff37cfd
Author: Antoine R. Dumont (@ardumont) <>
Date:   Tue May 25 18:08:04 2021 +0200

    Deal properly with header response
    Related to T2996

See for more details.

This revision is now accepted and ready to land.May 25 2021, 11:17 PM
This revision was automatically updated to reflect the committed changes.