HTTP::...edirect(3pm)

πŸ“¦
version 0.028 Β· 2 versions
  • 0.028 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.027 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

HTTP::Throwable::Role::Redirect β€” it's an exception, bestie, but make it a redirect ✨


πŸŽ€ VERSION πŸŽ€

version 0.028 β€” yeah she's vintage, she's iconic, we love her 🫢


🌸 OVERVIEW 🌸

okay so picture this: this is a super simple role, like genuinely the low-effort queen of the family, and most of the 3xx series of exceptions use her. that's her whole job. she just adds a "location" attribute, and that attribute gets handed over as the Location header the moment the exception gets converted into an actual HTTP message. that's it. that's the whole vibe. πŸ’…

not me having to warn you about "MultipleChoices," tho β€” the 300 status code is not currently a redirect, because its Location header is optional. this may change in the future if the semantics of this role get refined. so like, don't come for her, she's just built different rn πŸ™ˆ

πŸ¦‹ PERL VERSION πŸ¦‹

this library should run on perls released even a long time ago, fr fr. it should work on any version of perl released in the last five years. 🌈

although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. the version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. periodt. ⭐


πŸ‘‘ AUTHORS πŸ‘‘

  • Stevan Little <stevan.little@iinteractive.com> πŸ’œ
  • Ricardo Signes <cpan@semiotic.systems> πŸ’–

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. slay, honestly. πŸ“


that's the whole page, bestie!! documented by the perl crew, perl v5.36.0, dated 2023-01-24 β€” mwah, go forth and redirect responsibly πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from