HomeSoftware Heritage

browse: Use django FileResponse in browse-content-raw view

Description

browse: Use django FileResponse in browse-content-raw view

Instead of manually setting some HTTP headers, prefer to use django
FileResponse class that set those.

It fixes the download of raw files with non ascii filenames.

Details

Provenance
anlambertAuthored on Nov 14 2022, 1:41 PM
anlambertPushed on Nov 14 2022, 2:27 PM
Differential Revision
D8836: browse: Use django FileResponse in browse-content-raw view
Parents
rDWAPPSed38856c601e: package.json: Upgrade dependencies
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task
Build Status
Buildable 32785
Build 51365: test-and-buildJenkins console · Jenkins