Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 20295 invoked from network); 15 May 2003 21:20:40 -0000 Received: from mail017.syd.optusnet.com.au (210.49.20.175) by daedalus.apache.org with SMTP; 15 May 2003 21:20:40 -0000 Received: from 192.168.0.14 (c17021.rochd3.qld.optusnet.com.au [211.28.126.134]) by mail017.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id h4FLKju03912 for ; Fri, 16 May 2003 07:20:46 +1000 From: Adam Murdoch To: "Jakarta Commons Users List" Subject: Re: [VFS] [PATCH] UrlFileObject.exists (when HTTP) Date: Fri, 16 May 2003 06:50:07 +1000 User-Agent: KMail/1.5.1 References: <00e001c31af8$bc595ad0$35c5ea43@wdn086> In-Reply-To: <00e001c31af8$bc595ad0$35c5ea43@wdn086> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305160650.08139.adammurdoch@apache.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 16 May 2003 01:43 am, Adam Jack wrote: > I tell ya, I'd love to replace this code with HttpClient code, where we > could (1) set the UserAgent to be 'commons-vfs' (2) user HEAD and/or GET > (3) have "follow redirects work" (I found a bug in JDK java.net.URL where > it does not seem to follow relative redirects) and (4) only do (at most) on > HEAD and one GET (if needed) per URL. [4 could be done with either > underlying code.] These are all good ideas. My plan for doing this was to extend the WebDAV provider to handle plain HTTP as well, since it already sits on top of HttpClient, and already does these things (uses OPTIONS instead of HEAD). It just needs to be extended to handle non-dav resources. > You say this project is active, but I've not seen a VFS committer chime in. Apologies for that. I've been a little busier than I'd like recently. > Any ideas how we entice one of them to work with us to help commit your/our > work? Just keep hassling us :) I will get your changes applied this weekend. -- Adam