Page MenuHomePhabricator

Support "Range: bytes=123-" requests
ClosedPublic

Authored by epriestley on Apr 5 2017, 6:05 PM.
Tags
None
Referenced Files
F14095063: D17626.diff
Mon, Nov 25, 7:34 PM
Unknown Object (File)
Fri, Nov 22, 6:19 AM
Unknown Object (File)
Sun, Nov 17, 10:43 PM
Unknown Object (File)
Wed, Nov 13, 6:59 PM
Unknown Object (File)
Sun, Nov 10, 5:48 AM
Unknown Object (File)
Wed, Nov 6, 5:48 AM
Unknown Object (File)
Sun, Nov 3, 6:21 AM
Unknown Object (File)
Wed, Oct 30, 10:59 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.