HTTP::...ionInfo(3pm)
π HTTP::Headers::ActionPack::AuthenticationInfo π
okay bestie, so this page is HTTP::...ionInfo(3pm) from the User Contributed Perl Documentation, and it's literally the manual for the Authentication-Info header. it's giving β¨ headers, it's giving β¨ params, it's giving β¨ nothing scary. let's get into it π«Ά
πΈ NAME πΈ
HTTP::Headers::ActionPack::AuthenticationInfo β The Authentication-Info Header π
β¨ VERSION β¨
version 0.09 β yeah she's on 0.09, and she's iconic for it π
π¦ SYNOPSIS π¦
okay so here's how you actually use this thing. first you load it:
use HTTP::Headers::ActionPack::AuthenticationInfo;
then if you already have the header as a string, you just hand it over and it does the whole parsing moment:
# create from string
my $auth_info = HTTP::Headers::ActionPack::AuthenticationInfo->new_from_string(
'qop=auth-int, rspauth="6629fae49393a05397450978507c4ef1", cnonce="0a4f113b", nc=00000001'
);
or, if you'd rather build it from parameters yourself, that's also fully valid and lowkey cleaner:
# create from parameters
my $auth_info = HTTP::Headers::ActionPack::AuthenticationInfo->new(
qop => 'auth-int',
rspauth => "6629fae49393a05397450978507c4ef1",
cnonce => "0a4f113b",
nc => '00000001'
);
both paths, same destination, no cap π§
π DESCRIPTION π
so this class represents the Authentication-Info header. and the way that it's a pretty parameter based header?? yeah, exactly β so it inherits from HTTP::Headers::ActionPack::Core::BaseHeaderWithParams to handle all the parameters. that's the whole vibe. it doesn't redo the param work, it lets the base class carry that and just shows up looking cute π
π METHODS π
here's the full lineup, no skips, no cuts:
"new ( %params )""new_from_string ( $header_string )""as_string"
periodt. that's the whole method roster π
π AUTHOR π
Stevan Little <stevan.little@iinteractive.com> β legend behaviour, honestly π
π CONTRIBUTORS π
the group chat that made this happen, shoutout to every single one:
- Andrew Nelson
<anelson@cpan.org> - Dave Rolsky
<autarch@urth.org> - Florian Ragwitz
<rafl@debian.org> - Jesse Luehrs
<doy@tozt.net> - Karen Etheridge
<ether@cpan.org>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2012 by Infinity Interactive, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
fr fr bestie, that license line is a real one β free software, same terms as perl itself. don't be weird about it π
and that's the whole page!! this doc came to you via perl v5.34.0 and it's dated 2022-06-14, so go forth and parse those headers, you absolute main character π¦πβ¨
π¦ where this page comes from
- debian bookworm: libhttp-headers-actionpack-perl 0.09-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhttp-headers-actionpack-perl 0.09-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms