Re: [htdig3-dev] Re: Patch to URL.cc


Subject: Re: [htdig3-dev] Re: Patch to URL.cc
From: Warren Jones (wjones@tc.fluke.com)
Date: Mon Jan 17 2000 - 11:12:17 PST


On Mon, Jan 17, 2000 at 09:05:31AM +0100, Gabriele Bartolini wrote:

> > o Using valid_extensions also allows URL's with no extension
> > (after my patch to Retriever.cc). This is as it should be,
> > since many URL's with no extension are subdirectories,
> > which we need to index. But other URL's with no extension
> > are binary executables or heaven knows what.
>
> Yes, but I think with a more accurate control on the 'stat' result,
> we may recognize if we are managing a directory or not. Not only
> byu controlling if it's a regular file or not.

True, for local URL's, using stat would be a better solution
for distinguishing directories from ordinary files. But that
won't help for URL's that are only available by HTTP.

-- 
Warren

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Mon Jan 17 2000 - 11:13:49 PST