teapot-server
Version:
An Express.js Web server that handles teapot requests according to RFC 2324.
21 lines (18 loc) • 674 B
HTML
<html lang="en">
<head>
<title>I'm a Teapot</title>
<meta charset="utf-8" />
<link rel="icon" type="image/vnd.microsoft.icon" href="images/favicon.ico" />
</head>
<body style="text-align: center;">
<h2>Teapot Error</h2>
<h4>HTTP status code 418 : Cannot brew coffee. I'm a teapot.</h4>
<p>See <a href="https://www.ietf.org/rfc/rfc2324.txt">RFC 2324</a>, published on April 1, 1998.</p>
<img src="images/teapot.jpg" alt="Teapot image" />
<br />
<p>See also <a href="https://www.google.com/teapot">Google's teapot page</a>.</p>
<br />
<input type="button" value="Go Home" onclick="window.location.href='/'" />
</body>
</html>