:- use_module(library(http/http_client)).
Content-Type
header and
plugins. This predicate is the common implementation of the HTTP client
operations. The predicates http_delete/3, http_post/4
and
http_put/4 call this predicate
with an appropriate
method(+Method)
option and ---for http_post/4
and http_put/4--- a post(+Data)
option.
Options are passed to http_open/3 and http_read_data/3. Other options:
headers(Fields)
from http_open/3.
Provided for backward compatibility. Note that http_version(Major-Minor)
is missing in the new version.