diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 23:34:43 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 23:34:43 +0000 |
commit | 6220bb7e9f8d8201fe66b71941a3b0458d16d8b5 (patch) | |
tree | 846a041439b14418677256309afffd77dc74fe31 /media/player | |
parent | cf9995bcc40e8fd67551f660b7fe37cfd00b2c79 (diff) | |
download | chromium_src-6220bb7e9f8d8201fe66b71941a3b0458d16d8b5.zip chromium_src-6220bb7e9f8d8201fe66b71941a3b0458d16d8b5.tar.gz chromium_src-6220bb7e9f8d8201fe66b71941a3b0458d16d8b5.tar.bz2 |
Supports single range request with file protocol
Added range request support in URLRequestFileJob to respect
"Range" HTTP header. Fail with ERR_REQUESTED_RANGE_NOT_SATISFIABLE
if range is bad.
The following range request modes are supported:
1. Fully specified: bytes=x-y
2. With first byte position only: bytes=x-
3. With suffix length: bytes=-y
Multiple ranges in a single request is not supported as we need to multipart encoding..
Review URL: http://codereview.chromium.org/92149
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/player')
0 files changed, 0 insertions, 0 deletions