W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

Re: q: use of system resources

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Wed, 26 May 1999 09:58:27 +0200
Message-ID: <374BA9A3.E5972041@sophia.inria.fr>
To: Giannakopoulos Michalis <mgi@elca.ch>
CC: www-jigsaw@w3.org
Giannakopoulos Michalis wrote:

> >> Is it possible to limit the size of files transfered to the client?
> >
> >Yes, but you'll have to write a filter for that, we have such a filter but
> only for
> >PUT.
>
> But is that right that with this approach, files greater than the limit will
> simply not be transfered to the client?

Yes, If you want the filter could responds with a 403 forbidden or something
like that.

> We have two jigsaw servers working in the following manner: a browser
> connects to the first jigsaw server acting as a mirror, which redirect the
> request to the second jigsaw server acting as a proxy, which forward the
> request to a web server.
>
> (browser) <-> (mirror) <-> (proxy) <-> (web server)
>
> If I'd like to limit the size of files transmitted between my proxy and my
> mirror, I can use a filter on the proxy, but files greater than the limit
> will not be transmitted. Is there a way to cut these files, on the proxy, in
> parts smaller than the limit, so that the mirror will reassemble the file
> and transmit it to the browser?

Well, you can implement it but it's not in Jigsaw. HTTP allows you to
get only a part of a reply, you can specify the part you want with the
Range header. Here is the HTTP 1.1 specification [1].

[1]http://www.w3.org/Protocols/History.html#HTTP11

Regards, Benoit.

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium   (W3C)
                    Architecture domain - Jigsaw Engineer

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------
Received on Wednesday, 26 May 1999 04:01:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT