Afficher un message
Vieux 17/02/2005, 14h19   #2
Barry Margolin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Multiple Range requests in HTTP 1.1

In article <e6443ee5.0502162240.7e190872@posting.google.com >,
suyog.upadhye@wipro.com (suyog) wrote:

> Hi All,
>
> Is it possible to get the full content of a file by using Range Header
> in HTTP 1.1? Basically the idea is to use persistent connection with
> the server and request for next chunk of specific byte range. Can
> multiple Range requests can be sent to server, connecting only once?


Yes. These are orthogonal features, and nothing precludes using them
together.

>
> one more thing I am unable to understand is what is the minimum range
> i can ask for?Sometimes the folowing error is appearing in the
> responce. This error string appears after getting some responce (ie.
> some chunks)
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>501 Method Not Implemented</title>
> </head><body>
> <h1>Method Not Implemented</h1>
> <p> to /index.html.en not supported.<br />
> </p>
> <hr>
> <address>Apache/2.0.52 (Win32) Server at EC4SEMI-112316.wipro.com Port
> 80</address>
> </body></html>
>
> Basically the confusion is with, How the server will act on the
> subsequent requests. Will it give the full responce (with date,server
> name and all responce headers) for each request sent and then followed
> by data? or it will simply gives responce line for first request only
> and then only data(specified data in subsequent range requests) for
> subsequent requests?


Each request and response is independent. Every response has to be
fully formed, with a response code line, response-headers, and an
optional body. Persistent connections just save the client from having
to reconnect -- everything else is the same.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
  Réponse avec citation
 
Page generated in 0,06162 seconds with 9 queries