Page MenuHomePhabricator

Support "Range: bytes=123-" requests
ClosedPublic

Authored by epriestley on Apr 5 2017, 6:05 PM.
Tags
None
Referenced Files
F19818612: D17626.id42395.diff
Thu, Mar 5, 10:40 PM
F19818575: D17626.id42395.diff
Thu, Mar 5, 10:22 PM
F19818549: D17626.id42395.diff
Thu, Mar 5, 10:07 PM
F19800696: D17626.id.diff
Sat, Feb 28, 5:31 PM
F19635002: D17626.id42395.diff
Feb 5 2026, 9:47 AM
F19632459: D17626.id42395.diff
Feb 5 2026, 5:03 AM
F19570729: D17626.diff
Feb 1 2026, 1:21 AM
F19530185: D17626.diff
Jan 19 2026, 9:24 PM
Subscribers
None

Details

Summary

Ref T12219. We currently only support Range requests like "bytes=123-456", but "bytes=123-", meaning "until end of file", is valid, and Chrome can send these requests.

I suspect this is the issue with T12219.

Test Plan

Used nc local.phacility.com 80 to pipe raw requests, saw both "bytes=123-456" and "bytes=123-" requests satisfied correctly.

Diff Detail

Repository
rP Phabricator
Branch
files16
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16322
Build 21701: Run Core Tests
Build 21700: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 5 2017, 6:24 PM
This revision was automatically updated to reflect the committed changes.