Introduction
This module provides a Django middleware class, proxiedssl.middleware.ProxiedSslWsgiMiddleware, that looks for one of two headers and sets the WSGI URL scheme to the value of the header. This allows a proxy server that handles SSL to notify the Django WSGI request handler that the end user is accessing the site through SSL.
Installation
Add proxiedssl.middleware.ProxiedSslWsgiMiddleware to the MIDDLEWARE_CLASSES tuple in your settings file. It would be best if it was first so that the is_secure method is accurate for the other middleware classes.
Requirements
Django and you currently must be using the WSGI handler either through a WSGI server or through the FCGI server which is a wrapper around the WSGI server.
TODO
Add a middleware class for the mod_python handler
Add full unit tests
0.1.1 (2012/01/05)
Added debug logging output for all possibilities
0.1 (2011/04/18)
Initial code
Metadata
Release files for proxiedssl 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| proxiedssl-0.1.1.tar.gz | 2.2 kB | Without provenance | Details for proxiedssl-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| proxiedssl-0.1.1-py2.6.egg | Legacy Egg format | - | - | Details for proxiedssl-0.1.1-py2.6.egg |
Total release size: 5.8 kB
Release files / proxiedssl-0.1.1.tar.gz
| Download URL | proxiedssl-0.1.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1cafe7e93e4560d6ad029a815f33d61308b09538d4bf941bb9d63096e700401
|
|
BLAKE2b-256 checksum How to use checksums |
69e203718ce288a7b2ac483653bb1d7ce1373aee13f55c6889b5208aaae11cf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / proxiedssl-0.1.1-py2.6.egg
| Download URL | proxiedssl-0.1.1-py2.6.egg |
|---|---|
| Size | 3.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c350b360999010c3ff0ffa6cfe23fb3bd69c4009f51e9c06d4c1e0ed86cbc363
|
|
BLAKE2b-256 checksum How to use checksums |
bf5d3ddff6b2fe71ac4174a120f1c3fbf44425e9b0711daa633ac5fa4c967bec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for proxiedssl 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.