HTTP::...ptable(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::Status::NotAcceptable β€” it's the 406 Not Acceptable status, bestie πŸ’… (and yeah, the manpage title is all HTTP::...ptable(3pm) because somebody's terminal was feeling dramatic, we move)


πŸŽ€ VERSION πŸŽ€

version 0.028 ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: the resource your request is pointing at? it can generate response entities, sure, but only ones whose content characteristics are not acceptable according to the accept headers you sent in the request. it's giving "we have options but not the ones you asked for" 😭

Unless it was a HEAD request, the response SHOULD include an entity containing a list of available entity characteristics and location(s) from which the user or user agent can choose the one most appropriate. the entity format is specified by the media type given in the Content-Type header field πŸ“ Depending upon the format and the capabilities of the user agent, selection of the most appropriate choice MAY be performed automatically. However β€” and this is the important bit β€” this specification does not define any standard for such automatic selection. so like... vibe it out, I guess? πŸ™ˆ

Note: HTTP/1.1 servers are allowed to return responses which are not acceptable according to the accept headers sent in the request. In some cases, this may even be preferable to sending a 406 response. User agents are encouraged to inspect the headers of an incoming response to determine if it is acceptable. πŸ‘€

And if the response could be unacceptable, a user agent SHOULD temporarily stop receipt of more data and query the user for a decision on further actions. like, pause the stream, ask the human, main character energy πŸ›‘


🌈 PERL VERSION 🌈

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. no cap ✨

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 don't come for me about your perl 5.8 situation bestie πŸ’€


πŸ‘‘ AUTHORS πŸ‘‘

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

icons, both of them 🫢


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, free as in freedom fr fr 🌸


and that's the whole page, babes πŸŽ€ written up on 2023-01-24, running under perl v5.36.0, courtesy of the User Contributed Perl Documentation crew β€” go forth and 406 responsibly πŸ’œ

πŸ“¦ where this page comes from