HomeSoftware Heritage

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

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

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
Tasks
Restricted Maniphest Task
Build Status
Buildable 32785
Build 51365: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.