DZ-Jay wrote: > [EMAIL PROTECTED] wrote: >> If THttpCli is used to get a webpage with no document name specified, >> only directory ("www.codegear.com/products") - is it possible to find out >> the default document name? Whether it be "index.html" or "main.html" or >> just some custom name specified on the webserver? > > This is a feature of the HTTP server: When a document is not specified, > it decides which is the default resource. There is no way for the > client to discover this.
Well in the case where the server performs a redirection it might be possible, e.g. http://en.wikipedia.org/wiki/ -> http://en.wikipedia.org/wiki/Main_Page /Tobias -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be