Skip to main content

Django HyperText Coffee Pot Protocol Middleware (HTCPCP)

Project description

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',
    ...
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-htcpcp-0.2.6.tar.gz (1.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page