[T]here is a strong, dark, rich requirement for a protocol designed espressoly for the brewing of coffee.
—RFC 2324 Section 1
A Django app that implements the TEA extension to HTCPCP as defined in RFC 7168.
This app extends the Django web framework to simulate the functionality of an HTCPCP server. Both the HTCPCP/1.0 protocol from RFC 2324 and the HTCPCP-TEA protocol from RFC 7168 are supported.
Notable features:
- Customizable coffee and teapots
- Support for BREW and WHEN HTTP methods
- Interactive brewing sessions
- HTCPCP response codes (e.g. 418 I'm a teapot)
- User-defined forbidden combinations of beverage additions
Documentation for Django HTCPCP-TEA is available on Read the Docs.
- [RFC 2324] Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
- [RFC 7158] The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)
- [RFC 2295] Transparent Content Negotiation in HTTP
- MDN Web Docs | HTTP response codes
- Shane Brunswick's Save 418 Movement.
- Dash Winterson's HTCPCP Middleware (django-htcpcp)
This software is licensed under the MIT License. For more information, read the file LICENSE.