perl-AnyEvent-HTTPD-SendMultiHeaderPatch-0.001003-alt2.noarch.rpm


Advertisement

Description

perl-AnyEvent-HTTPD-SendMultiHeaderPatch - Patch (hack) of AnyEvent::HTTPD for sending multiple headers with the same field name

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-AnyEvent-HTTPD-SendMultiHeaderPatch
Package version 0.001003
Package release alt2
Package architecture noarch
Package type rpm
Installed size 10.75 KB
Download size 10.75 KB
Official Mirror ftp.altlinux.org
use AnyEvent::HTTPD; # Optional,
use AnyEvent::HTTPD::SendMultiHeaderPatch;
sub {
my($httpd, $req) = @_;
$req->respond(
200, 'OK', {
'Set-Cookie' => "a=123; path=/; domain=.example.com\0b=456; path=/; domain=.example.com"
}, "Set the cookies"
);
}
use AnyEvent::HTTPD::Util;
sub {
my($httpd, $req) = @_;
my %%header;
header_add(\%%header, 'Set-Cookie', 'a=123; path=/; domain=.example.com');
header_add(\%%header, 'Set-Cookie', 'b=456; path=/; domain=.example.com');
$req->respond(200, 'OK', \%%header, "Set the cookies");
}
sub {
my($httpd, $req) = @_;
my %%header;
header_add(\%%header, 'Example', 'a');
header_add(\%%header, 'Example', 'b');
my $example_values = header_gets(\%%header, 'Example');
my $no_values = header_gets(\%%header, 'None');
}

Alternatives

Package Version Architecture Repository
perl-AnyEvent-HTTPD-SendMultiHeaderPatch - - -

Requires

Name Value
/usr/share/perl5 -
perl(AnyEvent/HTTPD.pm) -
perl(AnyEvent/HTTPD/HTTPConnection.pm) -
perl(AnyEvent/HTTPD/Util.pm) -
perl(Scalar/Util.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(AnyEvent/HTTPD/SendMultiHeaderPatch.pm) = 0.001.003
perl-AnyEvent-HTTPD-SendMultiHeaderPatch = 0.001003-alt2

Download

Type URL
Binary Package perl-AnyEvent-HTTPD-SendMultiHeaderPatch-0.001003-alt2.noarch.rpm
Source Package perl-AnyEvent-HTTPD-SendMultiHeaderPatch-0.001003-alt2.src.rpm

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-SendMultiHeaderPatch rpm package:
    # sudo apt-get install perl-AnyEvent-HTTPD-SendMultiHeaderPatch

Files

Path
/usr/share/doc/perl-AnyEvent-HTTPD-SendMultiHeaderPatch-0.001003/Changes
/usr/share/doc/perl-AnyEvent-HTTPD-SendMultiHeaderPatch-0.001003/README
/usr/share/perl5/AnyEvent/
/usr/share/perl5/AnyEvent/HTTPD/SendMultiHeaderPatch.pm

See Also

Package Description
perl-AnyEvent-Handle-Throttle-0.000002005-alt1.noarch.rpm perl module AnyEvent-Handle-Throttle
perl-AnyEvent-Handle-UDP-0.049-alt1.noarch.rpm client/server UDP handles for AnyEvent
perl-AnyEvent-Handle-Writer-0.02-alt1.noarch.rpm Extended version of AnyEvent::Handle with additional write options
perl-AnyEvent-HiveJSO-0.002-alt1.noarch.rpm HiveJSO stream serializer/deserializer for AnyEvent
perl-AnyEvent-IMAP-0.04-alt1.noarch.rpm IMAP client library for AnyEvent
perl-AnyEvent-IRC-0.97-alt1.noarch.rpm An event based IRC protocol client API
perl-AnyEvent-IRC-Server-0.03-alt1.noarch.rpm An event based IRC protocol server API
perl-AnyEvent-ITM-0.002-alt1.noarch.rpm Debug ITM/SWD stream deserializer for AnyEvent
perl-AnyEvent-ITM-scripts-0.002-alt1.noarch.rpm AnyEvent-ITM scripts
perl-AnyEvent-Ident-0.07-alt1.noarch.rpm Simple asynchronous ident client and server
perl-AnyEvent-ImageShack-0.2-alt1.noarch.rpm simple non-blocking client for image hosting ImageShack.us
perl-AnyEvent-Impl-Prima-0.02-alt1.noarch.rpm Prima event loop adapter for AnyEvent
perl-AnyEvent-InMemoryCache-0.01-alt1.noarch.rpm Simple in-memory cache for AnyEvent applications
perl-AnyEvent-InfluxDB-1.0.2.0-alt1.noarch.rpm An asynchronous library for InfluxDB time-series database
perl-AnyEvent-Inotify-Simple-0.03-alt1.noarch.rpm monitor a directory tree in a non-blocking way
Advertisement
Advertisement