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
F19034654: D17627.id.diff
Tue, Nov 25, 2:35 PM
F19026653: D17627.diff
Mon, Nov 24, 11:37 AM
F19003264: D17627.id.diff
Fri, Nov 21, 8:13 AM
F18850173: D17627.id.diff
Oct 30 2025, 2:57 PM
F18839513: D17627.id42397.diff
Oct 27 2025, 5:06 PM
F18835532: D17627.diff
Oct 26 2025, 4:35 PM
F18820440: D17627.id.diff
Oct 22 2025, 3:06 PM
F18817032: D17627.diff
Oct 21 2025, 11:36 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.