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
F22651707: D17627.id42396.diff
Wed, Sep 30, 11:33 PM
F22651700: D17627.id42396.diff
Wed, Sep 30, 11:33 PM
F22594259: D17627.id42397.diff
Mon, Sep 28, 9:56 AM
Unknown Object (File)
Jul 12 2026, 12:43 PM
Unknown Object (File)
Jul 6 2026, 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
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.