File-HTTP

 view release on metacpan or  search on metacpan

lib/File/HTTP.pod  view on Meta::CPAN


    my $body = get($url);
    my $body = get($url, 1); # follow redirections
    my ($request_headers, $response_headers, $body) = get($url);

If set to follow redirections, $request_headers and $response_headers
will correspond to the last emitted request.

=item post URL TYPE BODY

Similar to C<get> but with a post request, with a content-type,and a body.
Always ignore redirections.

=item open_at URL OFFSET

Similar to to C<open>, but with an offset. It is more efficient than using
C<open> and C<seek> when the offset is already known, as it saves an HTTP
request.

=back



( run in 1.099 second using v1.01-cache-2.11-cpan-524268b4103 )