perl-AnyEvent-HTTPD-CookiePatch-0.1.0-alt1.noarch.rpm


Advertisement

Description

perl-AnyEvent-HTTPD-CookiePatch - Patch of AnyEvent::HTTPD for cookie support

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-AnyEvent-HTTPD-CookiePatch
Package version: 0.1.0
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 7.85 KB
Download size: 7.85 KB
Official Mirror: ftp.altlinux.org
use AnyEvent::HTTPD::CookiePatch qw(inject); use AnyEvent::HTTPD::CookiePatch; my $httpd = AnyEvent::HTTPD->new( request_class => 'AnyEvent::HTTPD::CookiePatch' ); sub { my($httpd, $req) = @_; my $cookie_a = $req->cookie('a'); $req->cookie('a', 'a_value'); $req->cookie('b', 'b_value', 10*60, '/', '.example.com'); $req->respond(200, 'OK', { ... 'set-cookie' => $req->{_set_cookie}, ... }, "html..."); }

Alternatives

Requires

Provides

  • perl(AnyEvent/HTTPD/CookiePatch.pm) = 0.001
  • perl-AnyEvent-HTTPD-CookiePatch = 0.1.0-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-AnyEvent-HTTPD-CookiePatch rpm package:
      # sudo apt-get install perl-AnyEvent-HTTPD-CookiePatch

    Files

    • /usr/share/doc/perl-AnyEvent-HTTPD-CookiePatch-0.1.0/Changes
    • /usr/share/doc/perl-AnyEvent-HTTPD-CookiePatch-0.1.0/README
    • /usr/share/perl5/AnyEvent/
    • /usr/share/perl5/AnyEvent/HTTPD/CookiePatch.pm
    Advertisement
    Advertisement