HTTP::Simple is a wrapper of HTTP::Tiny that provides simplified functions for
performing HTTP requests in a similar manner to LWP::Simple, but with slightly
more useful error handling. For full control of the request process and response
handling, use HTTP::Tiny directly.
IO::Socket::SSL is required for HTTPS requests with HTTP::Tiny.
Request methods that return the body content of the response will return a byte
string suitable for directly printing, but that may need to be decoded for text
operations.
The HTTP::Tiny object used by these functions to make requests can be accessed
as $HTTP::Simple::UA (for example, to configure the timeout, or replace it with
a compatible object like HTTP::Tinyish).
The JSON encoder used by the JSON functions defaults to a JSON::PP instance, and
can be accessed as $HTTP::Simple::JSON.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Add p5-HTTP-Simple 0.002
HTTP::Simple is a wrapper of HTTP::Tiny that provides simplified functions for
performing HTTP requests in a similar manner to LWP::Simple, but with slightly
more useful error handling. For full control of the request process and response
handling, use HTTP::Tiny directly.
IO::Socket::SSL is required for HTTPS requests with HTTP::Tiny.
Request methods that return the body content of the response will return a byte
string suitable for directly printing, but that may need to be decoded for text
operations.
The HTTP::Tiny object used by these functions to make requests can be accessed
as $HTTP::Simple::UA (for example, to configure the timeout, or replace it with
a compatible object like HTTP::Tinyish).
The JSON encoder used by the JSON functions defaults to a JSON::PP instance, and
can be accessed as $HTTP::Simple::JSON.
WWW: https://metacpan.org/release/HTTP-Simple