A Django middleware for record http request and response in debug
Project description
=====
Django http monitor
=====
Django http monitor is a Django middleware for record http request and response in debug
Quick start
-----------
1. Add "http_monitor" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'http_monitor',
]
2. Include the polls URLconf in your project urls.py like this::
url(r'^http_monitor/', include('http_monitor.urls')),
3. Add the HttpMonitorMiddleware for monitor request like this::
MIDDLEWARE_CLASSES = (
'apps.http_monitor.middleware.HttpMonitorMiddleware',
...
)
Note HttpMonitorMiddleware should be in top of the middlewares,
But GZipMiddleware will zip the content, so GZipMiddleware will be top.
4. Start the development server and visit http://127.0.0.1:8000/http_monitor/requests
(you'll need the Admin login status to see this)
Django http monitor
=====
Django http monitor is a Django middleware for record http request and response in debug
Quick start
-----------
1. Add "http_monitor" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'http_monitor',
]
2. Include the polls URLconf in your project urls.py like this::
url(r'^http_monitor/', include('http_monitor.urls')),
3. Add the HttpMonitorMiddleware for monitor request like this::
MIDDLEWARE_CLASSES = (
'apps.http_monitor.middleware.HttpMonitorMiddleware',
...
)
Note HttpMonitorMiddleware should be in top of the middlewares,
But GZipMiddleware will zip the content, so GZipMiddleware will be top.
4. Start the development server and visit http://127.0.0.1:8000/http_monitor/requests
(you'll need the Admin login status to see this)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-http-monitor-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebcebf88cca2ad6847b8cf622096811230e2387f1fa6327ef9c4acf6f3817d43 |
|
MD5 | f05271cffc3f222f9e6f16b5ec0be756 |
|
BLAKE2b-256 | 3f546607fc727e5b9062af4669714422694cab5744903d557b6275b87ca15215 |
Close
Hashes for django_http_monitor-0.1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1a28c0366949c1770a961b9d915206ef7f7f479db1413740817e7c187ad2d31 |
|
MD5 | 496cb925c267ff2911e8a80dea957b76 |
|
BLAKE2b-256 | 2fef6b993ffe0e380a9e36f4bc41a796550779a9bdecc0bc1095e1f067f3977d |