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
Unknown Object (File)
Thu, Apr 11, 9:35 AM
Unknown Object (File)
Sat, Apr 6, 7:03 PM
Unknown Object (File)
Wed, Mar 27, 11:55 PM
Unknown Object (File)
Mar 5 2024, 1:40 PM
Unknown Object (File)
Feb 3 2024, 3:26 PM
Unknown Object (File)
Jan 29 2024, 9:10 AM
Unknown Object (File)
Jan 29 2024, 12:23 AM
Unknown Object (File)
Jan 25 2024, 10:23 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.