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 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:26 UTC