Hacker News

Favorites Setup
Comment by throw-the-towel | original | The Hypertext Transfer Protocol Status Code 483 (I'm Not a Freezer)
[−]throw-the-towel · 2026-11-15 Sun 14:46 UTC · link
This is an anti-pattern. A better, future-proof solution would be to extend HTTP 418 with a header stating just what the server is not:

    HTTP 418 I'm A Teapot
    I'm-Not-A: freezer;teapot;radio
[−]sgarland · 2026-11-15 Sun 14:51 UTC · link
Considering 418 is the positive assertion, suddenly reversing that would break backwards compatibility; additionally, it adds ambiguity by listing multiple entities it is not, leaving the receiver to potentially assume that it is, for example, a microwave.

EDIT: missed the positive part remaining, sorry. I maintain that the ambiguity issue stands.

[−]cyanydeez · 2026-11-15 Sun 14:51 UTC · link
needs more dry; just remove the second I'm and it's clearer.
[−]rzzzt · 2026-11-15 Sun 15:02 UTC · link
421 Misdirected Request works equally well.
[−]basilikum · 2026-11-15 Sun 15:14 UTC · link
This is a proposal to add a new HTTP status code. 418 is not a HTTP status code but a HTCPCP status code.
[−]k0morebi · 2026-11-15 Sun 15:19 UTC · link
Should be "I'm a little teapot" short and stout is implied
[−]ivanjermakov · 2026-11-15 Sun 15:51 UTC · link
Isn't consistent for "I'm not a teapot" though.
[−]pocksuppet · 2026-11-15 Sun 16:17 UTC · link
For compatibility with header splitting, the delimiter should be a comma, The following header:

    I'm-Not-A: freezer, teapot, radio
is equivalent to:

    I'm-Not-A: freezer
    I'm-Not-A: teapot
    I'm-Not-A: radio
even in cases where the client, server, or some intermediate proxy doesn't know the I'm-Not-A header.
[−]jagged-chisel · 2026-11-15 Sun 18:34 UTC · link
This is unwieldy. Now my server has to list everything is is not.

It's not a quasar, nor a toaster, nor a tree, a pipe, a microwave transmitter, a microwave oven, a plush spider, an actual arachnid, a whale, a motorscooter, a motorcycle, an automobile, an apricot, a grape, raw sugar ...

[−]TeMPOraL · 2026-11-15 Sun 19:15 UTC · link
> radio

That response would be a lie, though. If it runs on electricity, it's most definitely a radio of some sort.