News for hackers. Stuff that matters.
Re:HTTP 418 I'm a Teapot by poizan42 on Tuesday July 31, 2018 @10:00AM (#17653160)
I don't understand how this happened. Why would a client appending the port in the Host: header result in the server giving that reply? Is it a default joke reply if the npm repository server is confused?
Re:HTTP 418 I'm a Teapot by zaarn on Tuesday July 31, 2018 @10:17AM (#17653303)
Most likely it was the server being very confused and not understanding that you could put the port in the Host header (very legit thing to do and proxies do it a lot)

So it likely treated it like a bad host header.