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)
Mon, Jul 6, 12:12 PM
Unknown Object (File)
Apr 4 2026, 2:34 PM
Unknown Object (File)
Mar 31 2026, 6:36 PM
Unknown Object (File)
Feb 5 2026, 11:04 AM
Unknown Object (File)
Dec 26 2025, 1:03 PM
Unknown Object (File)
Nov 25 2025, 2:35 PM
Unknown Object (File)
Nov 24 2025, 11:37 AM
Unknown Object (File)
Nov 21 2025, 8:13 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.