Skip to main content

https://github.com/nathforge/django-wiretap

Project description

Captures HTTP requests & responses for debugging.

This is an early release, and is not suitable for production use.

Screenshots

List

https://raw.githubusercontent.com/nathforge/django-wiretap/master/screenshot-list.png

View

https://raw.githubusercontent.com/nathforge/django-wiretap/master/screenshot-view.png

Usage:

  • Install the package with pip install django-wiretap

  • Edit Django settings:

    • Add 'wiretap' to INSTALLED_APPS.

    • Add 'wiretap.middleware.WiretapMiddleware' to your MIDDLEWARE_CLASSES.

  • Create models with ./manage.py syncdb

  • Go to Django admin, add a new Tap.

    • This contains a path regex, which is matched against the full path including the query string.

      • For example, to capture everything within the /api/ path of your site, use '^/api/'.

      • If you just want to test Wiretap, set it to '/'.

HTTP request/responses will now be saved to the Message admin page.

Note that Wiretap will be disabled if Django is not in debug mode.

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-wiretap-0.1.2.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file django-wiretap-0.1.2.tar.gz.

File metadata

File hashes

Hashes for django-wiretap-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a7db7c597e1a499f6584a15c77b394cac580769a4cdad20ec862e60cc070c7eb
MD5 31c37be45fda330e4d0303aa67ee9737
BLAKE2b-256 8c2c4652e65e929bc0e0a8c75ccb98a523b8778274f744c735a4b17c17ccb57e

See more details on using hashes here.

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