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
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
F18500823: D17627.diff
Sep 4 2025, 9:21 PM
F18109207: D17627.id42397.diff
Aug 11 2025, 12:28 PM
F18088323: D17627.diff
Aug 6 2025, 7:33 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.