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
HTTP::Tiny::UA::Response(3) User Contributed Perl Documentation HTTP::Tiny::UA::Response(3)
 

HTTP::Tiny::UA::Response - Wrap HTTP::Tiny response as objects with accessors

version 0.006

    my $res = HTTP::Tiny::UA->new->get( $url );
    if ( $res->success ) {
        say "Got " . $res->header("Content-Length") . " bytes";
    }

This module wraps an HTTP::Tiny response as an object to provide some accessors and convenience methods.

    $response->header( "Content-Length" );
Return a header out of the headers hash. The field is case-insensitive. If the header was repeated, the value returned will be an array reference. Otherwise it will be a scalar value.

David Golden <dagolden@cpan.org>

This software is Copyright (c) 2013 by David Golden.
This is free software, licensed under:
  The Apache License, Version 2.0, January 2004
2018-04-22 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.