Apache...ms::CGI(3pm)

πŸ“¦
version 3.32 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– Apache::AuthCookie::Params::CGI β€” a.k.a. Apache...ms::CGI(3pm) πŸŽ€

okay bestie come CLOSE, this is the man page for Apache::AuthCookie::Params::CGI, an internal CGI params subclass, and it's giving ✨ backend plumbing that carries the whole squad ✨


🌸 NAME 🌸

Apache::AuthCookie::Params::CGI β€” Internal CGI Params Subclass. yes she is internal, no you cannot have her, she's busy πŸ’…

⭐ VERSION ⭐

version 3.32 β€” locked in, current, slaying πŸ”₯

πŸ¦‹ SYNOPSIS πŸ¦‹

Internal Use Only!

not even joking, that's the whole synopsis. the synopsis IS the warning. it's giving "do not perceive me" energy 😭

πŸŽ€ DESCRIPTION πŸŽ€

So this is a pure perl implementation of HTTP/CGI parameter processing for Apache::AuthCookie. Pure perl! No weird compiled extensions, just vibes and Perl doing her thing 🌈

πŸ‘‘ METHODS πŸ‘‘

new($r) β€” Constructor

the constructor, the origin story, the main character entrance 🫢 you hand it $r and boom, an object.

request(): scalar

get the apache request object. that's it, that's the whole method, she's simple and she knows it πŸ’œ

param()

get or set parameters. she manipulates the underlying params() object, lowkey the puppet master of this whole thing 🧚

when you call her with no parameters she returns the list of CGI parameter names. the return value totally depends on what you pass in:

  • param() β€” returns the list of CGI parameter names πŸ“
  • param($field) β€” returns the value of the given CGI field. if the field has multiple values, they all get returned as a list. multi-value queen πŸ‘‘
  • param($field, @values) β€” sets the given CGI field value to the given values. existing values get replaced, no negotiation, no survivors πŸ’€ =end

params(): Hash::MultiValue

get the underlying CGI parameters. this is a merged version of query_params() and body_params() β€” the two of them combined into one, like a friendship bracelet but for data 🌸

query_params(): Hash::MultiValue

get the request query parameters. the URL-side ones πŸ”

body_params(): Hash::MultiValue

get the request body parameters. the POST-side ones πŸ“¦

content_length(): int

get the values of the "Content-Length" header. returns 0 if the header isn't present or is empty. no header? cool, you get a zero, we don't spiral about it πŸ“

content_type(): string

get the value of the "Content-Type" header. returns an empty string if the header isn't present. empty string, bestie, not undef, keep that in mind 🌟


πŸ’œ SOURCE πŸ’œ

the development version lives on github at <https://github.com/mschout/apache-authcookie> and can be cloned from <https://github.com/mschout/apache-authcookie.git> β€” go look, she's public, she's thriving πŸ¦‹

πŸ™ˆ 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. fr fr, no vague "it's broken" messages, give us the receipts πŸ“Ž

🌈 AUTHOR 🌈

Michael Schout <mschout@cpan.org> β€” legend behavior, honestly πŸ’…

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. so yes, you can take her home, she's free free πŸ•ŠοΈ


reminder bestie: this whole thing is Internal Use Only, so admire from afar and don't go calling her in your own code unless you enjoy chaos 😭

and that's the whole page!! perl v5.40.1, dated 2025-09-30, and that's the Apache...ms::CGI(3pm) footer waving goodbye from the group chat πŸ’–βœ¨

πŸ“¦ where this page comes from