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
F15512452: D17627.diff
Thu, Apr 17, 10:54 AM
F15464303: D17627.id42397.diff
Wed, Apr 2, 8:17 AM
F15464300: D17627.id42396.diff
Wed, Apr 2, 8:17 AM
F15462448: D17627.diff
Tue, Apr 1, 3:11 PM
F15420086: D17627.id42396.diff
Fri, Mar 21, 11:12 AM
F15414395: D17627.diff
Thu, Mar 20, 12:26 AM
F15407121: D17627.id.diff
Mar 18 2025, 3:51 PM
F15400598: D17627.diff
Mar 17 2025, 12:47 PM
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.