Go to the first, previous, next, last section, table of contents.


HTTP conectivity

Author(s): Daniel Cabeza.

Version: 1.11#222 (2004/5/24, 13:8:7 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.

Usage and interface (http)

Documentation on exports (http)

PREDICATE: fetch_url/3:

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)


Go to the first, previous, next, last section, table of contents.