Page MenuHomePhabricator

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

Authored by epriestley on Apr 5 2017, 6:34 PM.
Tags
None
Referenced Files
F18850173: D17627.id.diff
Thu, Oct 30, 2:57 PM
F18839513: D17627.id42397.diff
Mon, Oct 27, 5:06 PM
F18835532: D17627.diff
Sun, Oct 26, 4:35 PM
F18820440: D17627.id.diff
Wed, Oct 22, 3:06 PM
F18817032: D17627.diff
Tue, Oct 21, 11:36 AM
F18762718: D17627.id42396.diff
Mon, Oct 6, 8:20 PM
F18599251: D17627.diff
Sep 13 2025, 7:02 AM
F18508712: D17627.id.diff
Sep 5 2025, 2:58 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
files17
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16325
Build 21705: Run Core Tests
Build 21704: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 5 2017, 6:34 PM
This revision was automatically updated to reflect the committed changes.