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
F15420086: D17627.id42396.diff
Fri, Mar 21, 11:12 AM
F15414395: D17627.diff
Thu, Mar 20, 12:26 AM
F15407121: D17627.id.diff
Tue, Mar 18, 3:51 PM
F15400598: D17627.diff
Mon, Mar 17, 12:47 PM
F15284921: D17627.id42396.diff
Tue, Mar 4, 10:57 AM
Unknown Object (File)
Wed, Feb 26, 3:23 PM
Unknown Object (File)
Feb 21 2025, 3:19 PM
Unknown Object (File)
Feb 20 2025, 1:40 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.