Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Http451

Http451 is a simple Django app that implements http451 on django. It implements the following IEFT RFC:

https://tools.ietf.org/html/rfc7725

https://tools.ietf.org/id/draft-sahib-451-new-protocol-elements-03.txt

Quick start

  1. Install http451 via pip :

pip install django-http-451

  1. Add 'http451' to your INSTALLED_APPS settings like:
INSTALLED_APPS = [

...

'http451',

]

  1. Add the following in your middleware
MIDDLEWARE = [

...

'http451.middleware.http451Middleware',

]

  1. Run python manage.py migrate to create the http451 models.
  2. Start the development server and visit the admin page
  3. Block a resource add it through the admin page http451 section

About

Django implementation for HTTP451

Resources

License

Packages

No packages published