HTTP::...Allowed(3pm)
π NAME π
okay so bestie, welcome to HTTP::Throwable::Role::Status::MethodNotAllowed β the whole entire manual page for it shows up as HTTP::...Allowed(3pm) in your terminal, which is honestly giving β¨abbreviatedβ¨ but we move.
This role is 405 Method Not Allowed. That's the vibe. π«
πΈ VERSION πΈ
version 0.028 β yes, that's the one, no cap π«Ά
β¨ DESCRIPTION β¨
okay so picture this: the method that showed up in the Request-Line? it is not allowed for the resource that the Request-URI is pointing at. that's the whole situation. π
and here's the part you cannot skip, bestie β the response MUST include an Allow header, and that header has to contain a list of valid methods for the requested resource. like, that's not optional, that's the law π periodt.
π§ PERL VERSION π§
bestie this library should run on perls released even a long time ago. it should work on any version of perl released in the last five years. iconic. π«Ά
although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. and the version may be increased for any reason β literally any β and there is no promise that patches will be accepted to lower the minimum required perl. so if you're on ancient perl... lowkey live your truth but highkey no promises. π
π ATTRIBUTES π
π allow
this one's an ArrayRef of HTTP methods. it is required β not optional, not "eh maybe", required. and those HTTP methods will be type checked to ensure validity and uniqueness. so no duplicates and no nonsense, the type checker said what it said. π
π¦ SEE ALSO π¦
- HTTP Methods - <http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html>
π AUTHORS π
- Stevan Little <stevan.little@iinteractive.com>
- Ricardo Signes <cpan@semiotic.systems>
two absolute legends fr fr π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2011 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.
and that's the whole page, bestie π this was perl v5.36.0 doing its thing back on 2023-01-24 β mwah, slay, go write some correct Allow headers π
β¨
π¦ where this page comes from
- debian bookworm: libhttp-throwable-perl 0.028-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhttp-throwable-perl 0.028-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhttp-throwable-perl 0.028-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhttp-throwable-perl 0.028-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhttp-throwable-perl 0.028-1 Β· 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