Yet another Django reverse proxy application.
Project description
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
Sets the http headers X-Forwarded-For and X-Forwarded-Proto
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
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
Hashes for django-revproxy-coprocure-0.10.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 477eb87c900c0e0efb2e9aadf172feaf0b4723f0eee8aeb2baf5acc0991f866c |
|
MD5 | 45768cfe52aff4679c3c7b4be69d7a2c |
|
BLAKE2b-256 | b914e63c6beed33fa6b7dfdd9c440678777a9fc9ac6835d650ddef37257b152b |
Hashes for django_revproxy_coprocure-0.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3b3de2c93afa60f1393010033e672be788e319f869034d239fc7d5c93046c76 |
|
MD5 | 58b474f6cfdb30d5a25871bedb2bd9fb |
|
BLAKE2b-256 | 01ba3928d62fa9c7f6932ff12067d3df3963d29c75b7d6204995a50e1cb1c494 |