develooper Front page | perl.libwww | Postings from February 2001

/ and DirectoryIndex

Thread Next
John Indra
February 21, 2001 01:43
/ and DirectoryIndex
Message ID:
Hi all...

How do I tell my user-agent (an LWP::UserAgent object) to NOT download both
/ and index.html or whatever remote sites DirectoryIndex set to?
Example, my user-agent sees 2 link:
- http:://
- http:://
IF in this situation both link to the same document, my user-agent will be a
fool if it tries to download both file. How do I make a "smarter" user-agent
that will know that those 2 links are the same and only perform one GET
method, either to http::// OR



Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About