httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@nueva.pvt.k12.ca.us>
Subject Re: WWW Form Bug Report: "Byte Ranges doesnt seem to work" on Solaris 2.x (fwd)
Date Fri, 03 Jan 1997 20:40:25 GMT
On Fri, 3 Jan 1997, rk@tencore.com wrote:

> Testing per your docs by telneting to www.apache.org port 80. Issue:
> 
> GET / HTTP/1.1
> Host: www.apache.org
> Range: bytes=100-200
> 
> The entire document is returned instead of bytes 100-200.
> 
> (By comparision, using the same commands on a Microsoft IIS server
> 2.0 returns the requested byte range...in fact, using 1.0 protocol
> header still gives byte ranges).

According to the HTTP/1.1 specification, byte ranges can only be
returned when there is a total byte count. The HTML files at
www.apache.org are parsed by the server, and we do not have a length
ahead of time, so cannot send a byte range.

Byteranges are supported by Apache on any "plain" file served. These
files will also return an "Accept-Ranges: bytes" header in the
response, to tell a browser/proxy that it supports byteranges.

Thanks for using Apache!

-- 
________________________________________________________________________
Alexei Kosut <akosut@nueva.pvt.k12.ca.us>      The Apache HTTP Server
URL: http://www.nueva.pvt.k12.ca.us/~akosut/   http://www.apache.org/


Mime
View raw message