Skip to content

Django Hypertext Coffee Pot Control Protocol (HTCPCP

Notifications You must be signed in to change notification settings

dashdanw/django-htcpcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django HyperText Coffee Pot Protocol Middleware (HTCPCP)

Implemented HTCPCP as per RFC 2324.

https://www.ietf.org/rfc/rfc2324.txt

Setup

Install by downloading the source and running:

python setup.py install

or

pip install django-htcpcp

and then add it to your installed apps:

INSTALLED_APPS = (
    ...
    'djhtcpcp',
    ...
)

You will also need to add a middleware class to listen in on responses:

Django 1.10+

MIDDLEWARE = [
    ...
    'djhtcpcp.middleware.HTCPCPMiddleware',
    ...
]

Django 1.8-1.10:

MIDDLEWARE_CLASSES = [
    ...
    'djhtcpcp.middleware.HTCPCPMiddleware',
    ...
]

About

Django Hypertext Coffee Pot Control Protocol (HTCPCP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages