3 ms·
Has anyone designed a teapot to functionally implement this protocol?
by yeison 15y ago
Has anyone designed a teapot to functionally implement this protocol?
- jerf 15y agohttp://www.cs.rhul.ac.uk/home/joseph/teapot.html http://www.cs.rhul.ac.uk/home/joseph/teapot.html The page claims that http://134.219.188.123/ http://134.219.188.123/ is the device in the picture. Since we may be about to hammer it: jerf@jerfhom ~ $ curl -i http://134.219.188.123/ HTTP/1.0 418 I am a Teapot Server: BaseHTTP/0.3 Python/2.4.4 Date: Thu, 26 Jan 2012 01:38:15 GMT Content-Type: text/html Connection: close <head> <title>Error response</title> </head> <body> <h1>Error response</h1> <p>Error code 418. <p>Message: I am a Teapot. <p>Error code explanation: 418 = ???. </body>
- jt2190 15y agoLovely! Perhaps the next implementation should use Raspberry Pi instead of a laptop.
- JonnieCache 15y agoYou don't need a raspberry pi. http://d116.com/ace/ http://d116.com/ace/ http://arduino.cc/en/Tutorial/WebServer http://arduino.cc/en/Tutorial/WebServer
- dantillberg 15y agoUnfortunately, it doesn't support either BREW or WHEN requests. No coffee for me. tillberg:~ dan$ curl -i -X BREW http://134.219.188.123/ HTTP/1.0 501 Unsupported method ('BREW') Server: BaseHTTP/0.3 Python/2.4.4 Date: Thu, 26 Jan 2012 05:02:36 GMT Content-Type: text/html Connection: close <head> <title>Error response</title> </head> <body> <h1>Error response</h1> <p>Error code 501. <p>Message: Unsupported method ('BREW'). <p>Error code explanation: 501 = Server does not support this operation. </body>