The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::AuthCookie::Params::CGI - Internal CGI Params Subclass

VERSION

version 3.27

SYNOPSIS

 Internal Use Only!

DESCRIPTION

This is a pure perl implementation of HTTP/CGI parameter processing for Apache::AuthCookie.

METHODS

new($r)

Constructor

request(): scalar

Get the apache request object

param()

Get or set parameters. This manipulates the enderlying params() object. When called with no parameters returns the list of CGI parameter names. Return value depends on the arguments passed:

  • param()

    Return the list of CGI parameter names

  • param($field)

    Return the value of the given CGI field. If the field has multiple values they will all be returned as a list.

  • param($field, @values)

    Set the given CGI field value to the given values. Existing values will be replaced. =end

params(): Hash::MultiValue

Get the underlying CGI parameters. This is a merged version of query_params() and body_params().

query_params(): Hash::MultiValue

Get the request query parameters.

body_params(): Hash::MultiValue

Get the request body parameters.

content_length(): int

Get the values of the Content-Length header. Returns 0 if the header is not present or empty.

content_type(): string

Get the value of the Content-Type header. Returns an empty string if the header is not present.

SOURCE

The development version is on github at http://github.com/mschout/apache-authcookie and may be cloned from git://github.com/mschout/apache-authcookie.git

BUGS

Please report any bugs or feature requests to bug-apache-authcookie@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-AuthCookie

AUTHOR

Michael Schout <mschout@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2000 by Ken Williams.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.