int Ns_FetchURL( Ns_DString *pds, char *URL, Ns_Set *headers );
The Ns_FetchURL function connects the AOLserver to another HTTP Web server and requests the specified URL. The URL must be fully qualified. The content is appended to the given Ns_DString. If the headers is not NULL, the HTTP headers returned in the response from the remote server are appended to the set. Ns_FetchUrl does not currently handle redirects or requests for any protocol except HTTP. Use Ns_FetchPage to get pages on the local server.