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)
Wed, Oct 30, 10:59 PM
Unknown Object (File)
Wed, Oct 30, 10:59 PM
Unknown Object (File)
Wed, Oct 30, 10:59 PM
Unknown Object (File)
Tue, Oct 29, 7:38 PM
Unknown Object (File)
Sat, Oct 26, 7:57 AM
Unknown Object (File)
Oct 20 2024, 4:23 PM
Unknown Object (File)
Oct 19 2024, 10:49 AM
Unknown Object (File)
Oct 14 2024, 1:01 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.