-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Please add another example to the doco that shows how to check the HTTP status,
e.g.
my $response = io( "https://www.google.com" )->get() ; # =, NOT < or >
print $response->is_success() . "\n"; # from HTTP::Request
print $response->headers_as_string() . "\n"; # from HTTP::Message
print $response->header('Content-Length') . "\n";
print $response->code() . "\n";
print $response->content() . "\n";
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels