Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Web user agent class for Perl 6.
Perl6
branch: master

Merge pull request #53 from stmuk/stmuk

for becomes flatmap and kebab case test funcs
latest commit a9f7635245
@moritz moritz authored
Failed to load latest commit information.
bin renaming
lib/HTTP for becomes flatmap
t kebab case test funcs
.gitignore Add .gitignore
META.info add URI to meta depends
README.md NativeCall's *long* bug is fixed
crawler.p6 Switch from .map to .for
ex_readme.p6 renaming

README.md

HTTP::UserAgent

Web user agent class for Perl 6.

SYNOPSIS

use HTTP::UserAgent;

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

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

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

INFO/DOC

See specific files.

TODO/IDEAS

strikethrough text means done.

  • clean up
  • speed up

HTTP::UserAgent

  • HTTP Auth
  • let user set his own cookie jar
  • make getprint() return the code response
  • security fix - use File::Temp to create temporary cookie jar
  • use Promises
  • make SSL dependency as optional

HTTP::Cookies

  • path restriction

OpenSSL

  • fix NativeCall's int bug
  • make it work on more platforms

IO::Socket::SSL

  • make it work on more platforms
  • make SSL support more reliable
  • add throwing exception on failing SSL
  • more tests
Something went wrong with that request. Please try again.