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
Release files for django-revproxy 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_revproxy-0.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / django_revproxy-0.13.0-py3-none-any.whl
| Download URL | django_revproxy-0.13.0-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6130d52d5042624c918134369be0a825e9f7e87d15e12b739d6666e5ed1f32ef
|
|
BLAKE2b-256 checksum How to use checksums |
1c767781f0b011521b4f6eab515a21bf021ff78db52de4075cc61f1a0bcc70a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|