On Mon, 02 Oct 2006 10:06:34 +0200 Mario Ivankovits <[EMAIL PROTECTED]> wrote:
> Hi! > > when I try to create a file object with "http://www.somehost.com/", > > VFS fails when the host is unreachable (e.g. when not connected to > > internet) > > this is because org.apache.commons.vfs.provider.http.HttpFileSystem > > has a constructor that has an argument HttpClient, whereas it should > > be an HttpClientFactory > Hmmm .... I think it's a matter of taste, isn't it? It's not. I got just the same problem! User must authorize twice at proxy server: first when using my HttpClient, then using the HttpClient created by vfs. Certainly, there should be a way to specify an alternative HttpClient outside. This is just the point. > > I'll think about changing it as I see the advantage of having a > FileObject in any case. > > Ciao, > Mario > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- с уважением Дмитрий Негода ведущий разработчик ООО "Креативная разработка" тел.: (8422)79-40-37 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]