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
F13225948: D17627.id42397.diff
Sun, May 19, 6:26 PM
F13225872: D17627.diff
Sun, May 19, 5:55 PM
F13217888: D17627.id42397.diff
Sat, May 18, 8:49 AM
F13176090: D17627.id42396.diff
Wed, May 8, 10:21 AM
Unknown Object (File)
Fri, May 3, 8:00 AM
Unknown Object (File)
Thu, Apr 25, 1:58 AM
Unknown Object (File)
Apr 11 2024, 9:35 AM
Unknown Object (File)
Apr 6 2024, 7:03 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.