You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1997/01/03 19:55:28 UTC
WWW Form Bug Report: "Byte Ranges doesnt seem to work" on Solaris 2.x (fwd)
One for Alexei.. (not acked)
----- Forwarded message from rk@tencore.com -----
Message-Id: <19...@taz.hyperreal.com>
From: rk@tencore.com
To: apache-bugs%apache.org@organic.com
Date: Fri Jan 3 10:10:06 1997
Subject: WWW Form Bug Report: "Byte Ranges doesnt seem to work" on Solaris 2.x
Submitter: rk@tencore.com
Operating system: Solaris 2.x, version:
Version of Apache Used: 1.2b3-dev
Extra Modules used:
URL exhibiting problem:
Symptoms:
--
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).
--
Backtrace:
--
--
----- End of forwarded message from rk@tencore.com -----
--
Rob Hartill. Internet Movie Database Ltd. http://www.imdb.com/
Re: WWW Form Bug Report: "Byte Ranges doesnt seem to work" on Solaris 2.x (fwd)
Posted by Alexei Kosut <ak...@nueva.pvt.k12.ca.us>.
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 <ak...@nueva.pvt.k12.ca.us> The Apache HTTP Server
URL: http://www.nueva.pvt.k12.ca.us/~akosut/ http://www.apache.org/