Skip to content

Reverse Proxy view that supports all HTTP methods, Diazo transformations and Single Sign-On.

License

Notifications You must be signed in to change notification settings

TenantBase/django-revproxy

 
 

Repository files navigation

Welcome to django-revproxy

https://travis-ci.org/TracyWebTech/django-revproxy.svg?branch=master Maintainability Downloads

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

About

Reverse Proxy view that supports all HTTP methods, Diazo transformations and Single Sign-On.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • HTML 0.1%