418 I'm a teapot was a result of RFC2324 which was an April 1 RFC. See rfc9110 for more detailed information.
It is still very useful to allow for creating easter eggs and generally make life more fun. And as we all know, boring is worse than death.
This is only my personal opinion, but anyway, it is the only correct opinion.
My specific use case is my websocket echo server that does not process HTTP requests and should warn users making HTTP requests that this is not the intended purpose of the service.
418 I'm a teapot was a result of RFC2324 which was an April 1 RFC. See rfc9110 for more detailed information.
It is still very useful to allow for creating easter eggs and generally make life more fun. And as we all know, boring is worse than death.
This is only my personal opinion, but anyway, it is the only correct opinion.
My specific use case is my websocket echo server that does not process HTTP requests and should warn users making HTTP requests that this is not the intended purpose of the service.
Presently it uses 405 which is probably reasonable but boring. See https://github.com/akostadinov/websocket-echo-io/blob/0.1.0/lib/websocket/echo/io/server.rb#L26
/fixes #144