Changeset 346ea9e2 in ffmpeg

Timestamp:
Sep 4, 2011, 9:28:53 AM (13 years ago)
Author:
Martin Storsjö <martin@martin.st>
Branches:
master
Children:
dad09ff9
Parents:
5ee5dc4e
git-author:
Stefan Fritsch <sf@sfritsch.de> (09/04/11 08:56:24)
git-committer:
Martin Storsjö <martin@martin.st> (09/04/11 09:28:53)
Message:

http: Consider the stream as seekable if the reply contains Accept-Ranges: bytes

The initial request contains "Range: 0-", which servers normally
have responded with "HTTP/1.1 206 Partial Content" reply with
a Content-Range header, which was used as indicator for seekability.

Apache, since 2.2.20, responds with "HTTP/1.1 200 OK" for these
requests, which is more friendly to caches and proxies, but the
seekability still is indicated via the Accept-Ranges: bytes header.

Signed-off-by: Martin Storsjö <martin@martin.st>

(No files)

Note: See TracChangeset for help on using the changeset viewer.