Apache::AuthCookie::Params::CGI(3pm)

Apache::AuthCookie::Params::CGI3pm

Internal cgi params subclass

Usage

 Internal Use Only!

Version

version 3.32

Overview

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 <https://github.com/mschout/apache-authcookie> and may be cloned from <https://github.com/mschout/apache-authcookie.git>

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Bugs

Please report any bugs or feature requests on the bugtracker website <https://github.com/mschout/apache-authcookie/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

Author

Michael Schout <[email protected]>

From libapache2-authcookie-perl 3.32-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.