GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::ACME2::HTTP_Tiny(3) User Contributed Perl Documentation Net::ACME2::HTTP_Tiny(3)
 

Net::ACME2::HTTP_Tiny - HTTP client for Net::ACME

    use Net::ACME2::HTTP_Tiny;
    my $http = Net::ACME2::HTTP_Tiny->new();
    #NOTE: Unlike HTTP::Tiny’s method, this will die() if the HTTP
    #session itself fails--for example, if the network connection was
    #interrupted. These will be Net::ACME2::X::HTTP::Network instances.
    #
    #This also fails on HTTP errors (4xx and 5xx). The errors are
    #instances of Net::ACME2::X::HTTP::Protocol.
    #
    my $resp_obj = $http->post_form( $the_url, \%the_form_post );

This module largely duplicates the work of "HTTP::Tiny::UA", just without the dependency on "superclass.pm" (which brings in a mess of other undesirables).
The chief benefit is that "request()" and related methods will return instances of "HTTP::Tiny::UA::Response" rather than simple hashes.
This also always verifies remote SSL connections and always "die()"s if either the network connection fails or the protocol indicates an error (4xx or 5xx).
2018-06-23 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.