Re:NPM proxy users receiving ERR 418 I'm a teapot
by spondyl on Monday May 28, 2018 @11:21PM
(#17176231)
I recognised it straight away when it popped up this morning and thought "What the fuck, how could anything even trigger that?". There were no issues mentioning it for the longest time so we figured no way, it must be something besides npm.
Re:NPM proxy users receiving ERR 418 I'm a teapot
by sk5t on Monday May 28, 2018 @11:07PM
(#17176181)
I'd argue that 418 veers more towards "trivial" than it does "famous." Expecting knowledge of more than 400, 401, 403, 404, and maybe 412 is pushing it.
Re:NPM proxy users receiving ERR 418 I'm a teapot
by whatsstolat on Monday May 28, 2018 @11:08PM
(#17176186)
I didn't know 418 and I'm a web dev. Http status codes are a tiny part of my job
Re:NPM proxy users receiving ERR 418 I'm a teapot
by 49bc on Monday May 28, 2018 @11:17PM
(#17176220)
Not only that, but if you’re returning this status code you’re almost certainly doing something wrong or user hostile.
Re:NPM proxy users receiving ERR 418 I'm a teapot
by matte_black on Monday May 28, 2018 @11:22PM
(#17176238)
What if it really is a teapot? Not that farfetched with today's internet connected devices.
Re:NPM proxy users receiving ERR 418 I'm a teapot
by 49bc on Tuesday May 29, 2018 @01:53PM
(#17181437)
I still don't think returning a 418 (in the realm of client errors) is the correct code, even if it is a connected teapot which you're trying to identify!
I think the appropriate action would be a client sends an HTTP HEAD to the service, which responds 200 "TEAPOT".
Re:NPM proxy users receiving ERR 418 I'm a teapot
by hedora on Tuesday May 29, 2018 @12:11AM
(#17176435)
There’s the EKG+, an internet connected smart kettle:
http://fellowproducts.com/shop/staggekg/
I have the plain EKG, and quite like it.
However, both are designed for pour-over coffee, so can’t correctly return 418.
Presumably the npm community is full of web devs. Given that how can they not know the http codes, especially one as famous as 418?