Metadata-Version: 2.0
Name: django-http-monitor
Version: 0.1.1
Summary: A Django middleware for record http request and response in debug
Home-page: https://www.example.com/
Author: Bohan
Author-email: me@bohanzhang.com
License: BSD License
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.10
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content

=====
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)


