perl-CGI-Header-0.63-alt1.noarch.rpm


Advertisement

Description

perl-CGI-Header - Handle CGI.pm-compatible HTTP header properties

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-CGI-Header
Package version 0.63
Package release alt1
Package architecture noarch
Package type rpm
Installed size 59.10 KB
Download size 59.10 KB
Official Mirror ftp.altlinux.org
This module is a utility class to manipulate a hash reference.received by CGI.pm's `header()' method.
This module isn't the replacement of the `header()' method, but complements
CGI.pm.
This module can be used in the following situation:
=over 4
=item 1. $header is a hash reference which represents CGI response headers
For example, the CGI::Application manpage implements `header_add()' method
which can be used to add CGI.pm-compatible HTTP header properties.
Instances of CGI.pm-based applications often hold those properties.
my $header = { type => 'text/plain' };
=item 2. Manipulates $header using CGI::Header
Since property names are case-insensitive,
application developers have to normalize them manually
when they specify header properties.
CGI::Header normalizes them automatically.
use CGI::Header;
my $h = CGI::Header->new( header => $header );
$h->set( 'Content-Length' => 3002 ); # add Content-Length header
$header;
=item 3. Passes $header to CGI::header() to stringify the variable
use CGI;
print CGI::header( $header );
`header()' function just stringifies given header properties.
This module can be used to generate the PSGI manpage-compatible response header
array references. See the CGI::Header::PSGI manpage.
=back

Alternatives

Package Version Architecture Repository
perl-CGI-Header - - -

Requires

Name Value
/usr/share/perl5 -
perl(CGI.pm) >= 3.510
perl(parent.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(CGI/Header.pm) = 0.630
perl(CGI/Header/Adapter.pm) -
perl-CGI-Header = 0.63-alt1

Download

Type URL
Binary Package perl-CGI-Header-0.63-alt1.noarch.rpm
Source Package perl-CGI-Header-0.63-alt1.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-CGI-Header rpm package:
    # sudo apt-get install perl-CGI-Header

Files

Path
/usr/share/doc/perl-CGI-Header-0.63/Changes
/usr/share/doc/perl-CGI-Header-0.63/README
/usr/share/doc/perl-CGI-Header-0.63/examples/
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/Blosxom/Header.pm
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/CGI/Redirect.pm
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/CGI/Application/Header.pm
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/CGI/Header/Apache2.pm
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/CGI/Header/Extended.pm
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/CGI/Redirect/Adapter.pm
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/CGI/Simple/Header.pm
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/CGI/Simple/Header/Adapter.pm
/usr/share/doc/perl-CGI-Header-0.63/examples/lib/MyApp/Header.pm
/usr/share/doc/perl-CGI-Header-0.63/examples/t/blosxom_header.t
/usr/share/doc/perl-CGI-Header-0.63/examples/t/cgi_application_header.t
/usr/share/doc/perl-CGI-Header-0.63/examples/t/cgi_header_extended.t
/usr/share/doc/perl-CGI-Header-0.63/examples/t/cgi_redirect.t
/usr/share/doc/perl-CGI-Header-0.63/examples/t/cgi_redirect_adapter.t
/usr/share/doc/perl-CGI-Header-0.63/examples/t/cgi_simple_header.t
/usr/share/doc/perl-CGI-Header-0.63/examples/t/cgi_simple_header_adapter.t
/usr/share/doc/perl-CGI-Header-0.63/examples/t/myapp_header.t
/usr/share/perl5/CGI/Header.pm
/usr/share/perl5/CGI/Header/Adapter.pm

See Also

Package Description
perl-CGI-Header-PSGI-0.62001-alt1.noarch.rpm Generate PSGI-compatible response header arrayref
perl-CGI-IDS-1.0217-alt1.noarch.rpm PerlIDS - Perl Website Intrusion Detection System (XSS, CSRF, SQLI, LFI etc.)
perl-CGI-Imagemap-2.01-alt1.noarch.rpm perl module CGI-Imagemap
perl-CGI-Info-0.67-alt1.noarch.rpm Information about the CGI environment
perl-CGI-Inspect-0.5-alt1.noarch.rpm Inspect and debug CGI apps with an in-browser UI
perl-CGI-Lazy-1.10-alt1.noarch.rpm Simple webdev framework for cgi applications, especially web frontends to databases
perl-CGI-Lazy-ModPerl-0.04-alt1.noarch.rpm >new({
perl-CGI-Lingua-0.58-alt1.noarch.rpm Create a multilingual web page
perl-CGI-List-0.05-alt1.noarch.rpm Easily generate HTML Lists From a DataBase
perl-CGI-Listman-0.05-alt1.noarch.rpm Easily managing web subscribtion lists
perl-CGI-Lite-Request-0.06-alt1.noarch.rpm Request object based on CGI::Lite
perl-CGI-Log-1.00-alt1.noarch.rpm perl module CGI-Log
perl-CGI-MakeItStatic-0.03-alt1.noarch.rpm perl module CGI-MakeItStatic
perl-CGI-MiniFramework-0.01-alt1.noarch.rpm perl module CGI-MiniFramework
perl-CGI-Minimal-1.29-alt2.noarch.rpm A lightweight CGI form processing package
Advertisement
Advertisement