Skip to main content

Yet another Django reverse proxy application.

Project description

https://travis-ci.org/TracyWebTech/django-revproxy.svg?branch=master https://coveralls.io/repos/TracyWebTech/django-revproxy/badge.svg https://landscape.io/github/TracyWebTech/django-revproxy/master/landscape.svg?style=flat

A simple reverse proxy using Django. It allows to use Django as a reverse Proxy to HTTP requests. It also allows to use Django as an authentication Proxy.

Documentation available at http://django-revproxy.readthedocs.org/

Features

  • Proxies all HTTP methods: HEAD, GET, POST, PUT, DELETE, OPTIONS, TRACE, CONNECT and PATCH
  • Copy all http headers sent from the client to the proxied server
  • Copy all http headers sent from the proxied server to the client (except hop-by-hop)
  • Basic URL rewrite
  • Sets the http header REQUEST_USER if the user is logged in Django
  • Handles redirects
  • Few external dependencies
  • Apply XSLT transformation in the response (requires Diazo)

Dependencies

  • django >= 1.8
  • urllib3 >= 1.12
  • diazo >= 1.0.5 (optional)
  • lxml >= 3.4, < 3.5 (optional, but diazo dependency)

Install

pip install django-revproxy

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-revproxy-0.10.0.tar.gz (15.0 kB view hashes)

Uploaded source

Built Distribution

django_revproxy-0.10.0-py3-none-any.whl (17.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page