HomePhabricator

When requesting file data, make "Range: bytes=0-" work correctly

Description

When requesting file data, make "Range: bytes=0-" work correctly

Summary: Ref T12219. Chrome can send requests with a "Range: bytes=0-" header, which just means "the whole file", but we don't respond correctly because of a null vs 0 issue.

Test Plan: Sent a raw bytes=0- request, saw a proper resonse.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12219

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

Details

Provenance
epriestleyAuthored on Apr 5 2017, 6:31 PM
epriestleyPushed on Apr 5 2017, 6:48 PM
Reviewer
chad
Differential Revision
D17627: When requesting file data, make "Range: bytes=0-" work correctly
Parents
rPd1a971e22156: Support "Range: bytes=123-" requests
Branches
Unknown
Tags
Unknown
Tasks
T12219: Some MP4 videos do not play in Chrome
Build Status
Buildable 16326
Build 21706: Run Core Tests