Author(s): Daniel Cabeza.
Version: 1.7 (2000/7/12, 19:1:20 CEST)
Version of last change: 1.3#114 (1999/11/24, 0:57:16 MET)
This module implements the HTTP protocol, which allows retrieving data from HTTP servers.
http)http)
fetch_url(URL,Request,Response)
Fetches the document pointed to by URL from Internet, using request parameters Request, and unifies Response with the parameters of the response. Fails on timeout. Note that redirections are not handled automatically, that is, if Response contains terms of the form status(redirection,301,_) and location(NewURL), the program should in most cases access location NewURL.
Usage: fetch_url(URL,Request,Response)
URL specifies a URL.
(url_term/1)
Request is a list of http_request_params.
(list/2)
Response is a list of http_response_params.
(list/2)
Go to the first, previous, next, last section, table of contents.