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 REMOTE_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 >= 3.0
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 Distributions
Built Distribution
Hashes for django_revproxy-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd8e735414783477e18a79b3bb1e2180e0c60d412cd2bfdcf34d8898406b26e4 |
|
MD5 | ec2dc24fe8fdf25b471097575d9bc595 |
|
BLAKE2b-256 | 4a0273e1f0a085b4d29dae7a44652801029588111ebf2ed0387d635238c3e125 |