- From: Yves Lafon <ylafon@w3.org>
- Date: Thu, 8 Jan 1998 18:53:08 +0100 (MET)
- To: Gil Hansen <gil@objs.com>
- cc: www-jigsaw@w3.org
On Sun, 21 Dec 1997, Gil Hansen wrote: > How does one obtain the size of a downloaded resource? The following always > yields zero: int size = reply.getContentLength(); > > Thanks, > Gil The code is well reply.getContentLength(), but it has to called in the outgoingFilter(Request request, Reply reply); Which is after the resource has been downloaded (I assume that you are talking about a client-side filter...) /\ - Yves Lafon - World Wide Web Consortium - /\ / \ Architecture Domain - Jigsaw / \ \/\ / \ / \ http://www.w3.org/People/Lafon - ylafon@w3.org
Received on Thursday, 8 January 1998 12:53:56 UTC