Http-teapot
http-teapot
Add support for RFC 2324 to any HTTP server.
P.S: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0) was a April fools RFC ;) HTTP status code 418
.
BTW if you are wondering why this made in to this list, http-teapot
module is the 100,000th module to npm today!
congrats to @wa7son who published the 100,000th module to npm today, a http 418 teapot protocol implementation pic.twitter.com/ckKrSizu9Q
— maxwell ogden (@maxogden) October 15, 2014
Installation
1
|
|
Usage
Just add http-teapot as a routing function.
Express example:
1 2 3 4 5 6 7 |
|
GIF FTW!
Thanks to Thomas Watson Steen for implementing this RFC and giving us a teapot image ;)