HTTP::...:NoBody(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

πŸ’– HTTP::Throwable::Role::NoBody πŸ’–

okay so bestie, this is the HTTP::Throwable::Role::NoBody page from the User Contributed Perl Documentation, section 3pm. yes the title got truncated to HTTP::...:NoBody(3pm) up top because terminals are dramatic like that, but the real name is right here. 🫢


✨ NAME ✨

HTTP::Throwable::Role::NoBody β€” an exception with no body. that's it. that's the whole vibe. πŸ’…


🌸 VERSION 🌸

version 0.028


πŸ¦‹ OVERVIEW πŸ¦‹

okay so this one is a very simple role, and when I say very I mean it's giving minimal effort in the best way possible. it implements the required as_string, body, and body_headers for HTTP::Throwable. those three? yeah, it's got them covered, no notes. ✨

so when an HTTP::Throwable exception uses this role, here's the tea:

  • its PSGI response will have no entity body. none. empty. the void. πŸ’€
  • it will report a Content-Length of zero.
  • it will stringify to its status line.

that's the whole personality. no body, zero length, status line only. iconic honestly. πŸ‘‘


πŸŽ€ 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. so like, it might work on your ancient perl, but nobody's promising anything. πŸ™ˆ


πŸ’œ 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. ⭐


and that's the whole page bestie!! πŸ’–βœ¨ this lil legend was brought to you by perl v5.36.0, dated 2023-01-24, living under the HTTP::...:NoBody(3pm) banner. go forth and throw exceptions with zero body, no cap. πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from