Home GnuPG

Correct an issue where the wrong "Content-Length" was set for partial content…
c4c3de7bfaf3Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Correct an issue where the wrong "Content-Length" was set for partial content responses

Summary: Ref T8266. Although we compute this correctly above, we ignored it when actually setting the header. Use the computed value to set the "Content-Length" header. This is consistent with the spec/documentation.

Test Plan: Before, some audio (like rain.mp3) was pretty spotty about loading in Safari. It now loads consistently for me locally.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T8266

Differential Revision: https://secure.phabricator.com/D17624

Details

Provenance
epriestley <git@epriestley.com>Authored on Apr 5 2017, 3:46 PM
Parents
rPHAB45fc4f6f6407: Iterate over ranges correctly for encryped files
Branches
Unknown
Tags
Unknown

Event Timeline