HTTP::UserAgent::Strict

Web user agent

NAME

HTTP::UserAgent::Strict - Web user agent class

SYNOPSIS

use HTTP::UserAgent::Strict;

my $ua = HTTP::UserAgent::Strict.new;
$ua.timeout = 10;

my $response = $ua.get("URL");

if $response.is-success {
    say $response.content;
}
else {
    die $response.status-line;
}

DESCRIPTION

This module is based on HTT::UserAgent. It attempts to follow the RFCs more closely. Otherwise, its behavior is intended to match that module. Please see that module's documentation but note that this module's classes end in ::Strict.

AUTHOR

  • Filip Sergot (original)

Source can be located at: https://github.com/zjmarlow/http-useragent-strict. Comments and tickets welcome.

COPYRIGHT AND LICENSE

Copyright 2014 - 2022 Filip Sergot

Copyright 2023 - 2025 The Raku Community

This library is free software; you can redistribute it and/or modify it under the MIT License.

HTTP::UserAgent::Strict v0.9.2

Web user agent

Authors

  • Filip Sergot

License

MIT

Dependencies

HTTP::UserAgent:auth<zef:raku-community-modules>

Provides

  • HTTP::Cookies::Strict
  • HTTP::Header::Field::ETag::Strict
  • HTTP::Header::Field::Strict
  • HTTP::Header::Strict
  • HTTP::Message::Strict
  • HTTP::Request::Common::Strict
  • HTTP::Request::Strict
  • HTTP::Response::Strict
  • HTTP::Strict
  • HTTP::UserAgent::Exception::Strict
  • HTTP::UserAgent::Strict

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.