django-dnt 0.1.0
Make Django requests aware of the DNT header.
Do Not Track offers an easy way to pay attention to the DNT HTTP header. If users are sending DNT: 1, DoNotTrackMiddleware will set request.DNT = True, else it will set request.DNT = False.
Just add dnt.middleware.DoNotTrackMiddleware to your MIDDLEWARE_CLASSES and you're good to go.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| django-dnt-0.1.0.tar.gz (md5) | Source | 2011-02-16 | 2KB | 324 | |
- Author: James Socol
- Home Page: http://github.com/mozilla/django-dnt
- License: BSD
-
Categories
- Development Status :: 4 - Beta
- Environment :: Web Environment
- Environment :: Web Environment :: Mozilla
- Framework :: Django
- Intended Audience :: Developers
- License :: OSI Approved :: BSD License
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: jsocol
- DOAP record: django-dnt-0.1.0.xml
