swh.deposit.api.private.deposit_check module

class swh.deposit.api.private.deposit_check.SWHChecksDeposit(**config)[source]

Bases: swh.deposit.api.private.SWHPrivateAPIView, swh.deposit.api.common.SWHGetDepositAPI, swh.deposit.api.private.DepositReadMixin

Dedicated class to read a deposit’s raw archives content.

Only GET is supported.

process_get(req, collection_name, deposit_id)[source]
Build a unique tarball from the multiple received and stream that

content to the client.

  • req (Request) –

  • collection_name (str) – Collection owning the deposit

  • deposit_id (id) – Deposit concerned by the reading


Tuple status, stream of content, content-type