Hyper Text Coffee Pot Control Protocol: Difference between revisions
DavidWBrooks (talk | contribs) maybe I'm being over cautious, the intial sentence should make it clear that this is a parody |
m Undid revision 298037827 by DavidWBrooks (talk) rv overly cautious qualifications: 1) it's real: see talk page report; 2) enough qualifications already in article. |
||
Line 1: | Line 1: | ||
[[File:Percolator Cutaway Diagram.png|thumb|Diagram of a [[coffee percolator]]]] |
[[File:Percolator Cutaway Diagram.png|thumb|Diagram of a [[coffee percolator]]]] |
||
The '''Hyper Text Coffee Pot Control Protocol''' ('''HTCPCP''' for short) is a |
The '''Hyper Text Coffee Pot Control Protocol''' ('''HTCPCP''' for short) is a [[protocol (computing)|protocol]] for controlling, monitoring, and diagnosing [[coffee pot]]s. |
||
HTCPCP is specified in the jocular [[Request for Comments|RFC]] 2324, published on {{Date|1998-04-01}}.<ref>[http://www.ietf.org/rfc/rfc2324.txt Network Working Group — Request for Comments: 2324]</ref> Although the RFC describing the protocol is an [[April Fools' Day RFC|April Fools' Day joke]] and not to be taken seriously, it specifies the protocol itself accurately enough for it to be a real, non-fictional protocol. The powerful editor [[Emacs]] actually includes a fully functional implementation of it,<ref>[http://emarsden.chez.com/downloads/ Emacs extension: coffee.el]</ref> and a number of patches exist to extend [[Mozilla]] in this direction.<ref>[https://bugzilla.mozilla.org/show_bug.cgi?id=46647 Bug 46647 — (coffeehandler) HTCPCP not supported (RFC2324)] at bugzilla.mozilla.org</ref> |
HTCPCP is specified in the jocular [[Request for Comments|RFC]] 2324, published on {{Date|1998-04-01}}.<ref>[http://www.ietf.org/rfc/rfc2324.txt Network Working Group — Request for Comments: 2324]</ref> Although the RFC describing the protocol is an [[April Fools' Day RFC|April Fools' Day joke]] and not to be taken seriously, it specifies the protocol itself accurately enough for it to be a real, non-fictional protocol. The powerful editor [[Emacs]] actually includes a fully functional implementation of it,<ref>[http://emarsden.chez.com/downloads/ Emacs extension: coffee.el]</ref> and a number of patches exist to extend [[Mozilla]] in this direction.<ref>[https://bugzilla.mozilla.org/show_bug.cgi?id=46647 Bug 46647 — (coffeehandler) HTCPCP not supported (RFC2324)] at bugzilla.mozilla.org</ref> |
||
HTCPCP is an extension of [[Hypertext Transfer Protocol|HTTP]]. HTCPCP requests are identified with the [[ |
HTCPCP is an extension of [[Hypertext Transfer Protocol|HTTP]]. HTCPCP requests are identified with the [[Uniform Resource Identifier|URI]] scheme <code>coffee:</code> (or the same word in any other of the 29 listed languages) and contain several additions to the HTTP methods: |
||
{| |
{| |
||
|width="150px"|<code>BREW</code> or <code>POST</code>||Causes the HTCPCP server to brew [[coffee]] |
|width="150px"|<code>BREW</code> or <code>POST</code>||Causes the HTCPCP server to brew [[coffee]] |
||
Line 17: | Line 17: | ||
It also defines two error responses: |
It also defines two error responses: |
||
{| |
{| |
||
|width="150px"|<code>406 Not Acceptable</code>||The HTCPCP server is unable to brew coffee for some reason |
|width="150px" valign=top|<code>406 Not Acceptable</code>||The HTCPCP server is unable to brew coffee for some reason; the response should indicate a list of acceptable coffee types. |
||
|- |
|- |
||
|<code>418 I'm a teapot</code>||The HTCPCP server is a [[teapot]] |
|<code>418 I'm a teapot</code>||The HTCPCP server is a [[teapot]]; the responding entity may be [[I'm a Little Teapot|short and stout]]. |
||
|} |
|} |
||
Revision as of 04:40, 23 June 2009
The Hyper Text Coffee Pot Control Protocol (HTCPCP for short) is a protocol for controlling, monitoring, and diagnosing coffee pots.
HTCPCP is specified in the jocular RFC 2324, published on 1 April 1998.[1] Although the RFC describing the protocol is an April Fools' Day joke and not to be taken seriously, it specifies the protocol itself accurately enough for it to be a real, non-fictional protocol. The powerful editor Emacs actually includes a fully functional implementation of it,[2] and a number of patches exist to extend Mozilla in this direction.[3]
HTCPCP is an extension of HTTP. HTCPCP requests are identified with the URI scheme coffee:
(or the same word in any other of the 29 listed languages) and contain several additions to the HTTP methods:
BREW or POST |
Causes the HTCPCP server to brew coffee |
GET |
Retrieves coffee from the HTCPCP server |
PROPFIND |
Finds out metadata about the coffee |
WHEN |
Says "when", causing the HTCPCP server to stop pouring milk into the coffee (if applicable) |
It also defines two error responses:
406 Not Acceptable |
The HTCPCP server is unable to brew coffee for some reason; the response should indicate a list of acceptable coffee types. |
418 I'm a teapot |
The HTCPCP server is a teapot; the responding entity may be short and stout. |