HTTP::...Teapot(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 πŸ«–

okay so bestie, gather round: HTTP::Throwable::Role::Status::ImATeapot β€” that's the 418 I'm a teapot situation, and yes it is a whole entire Perl module, living its best life in the HTTP::...Teapot(3pm) manual page. no cap, this is real, this is in the docs, and it is iconic. πŸ’…


✨ VERSION ✨

version 0.028 β€” that's the one, that's our girl. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

This exception is literally here to provide RFC2324 support, in accordance with section 2.3.3, and the RFC says, and I quote:

Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.

the way that a spec document from the 90s predicted my entire personality 😭 anyway β€” you get two boolean attributes, "short" and "stout", and both of them default to false. so if you want your teapot to be short and/or stout you gotta say so yourself, she's not gonna assume. periodt. πŸ«–


🌸 PERL VERSION 🌸

ngl this is the chillest requirement section ever: 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. that's it, that's the bar, and she clears it. ⭐

but like, real talk, no promises beyond that:

  • it may work on older versions of perl, but there is no guarantee 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 don't come for her with the "but my ancient perl" energy, she already told you. πŸ’€


πŸ‘‘ AUTHORS πŸ‘‘

  • Stevan Little <stevan.little@iinteractive.com>
  • Ricardo Signes <cpan@semiotic.systems>

two legends, one teapot, we love to see it 🫢


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, open source, we stan. πŸ’œ


and that's the whole page bestie!! this lil cutie was built on perl v5.36.0 and the doc you're reading got stamped 2023-01-24 β€” so like, it's aged like fine boba. go brew something that isn't coffee. πŸ«–βœ¨πŸ’–

πŸ“¦ where this page comes from