Skip to main content

WSGI middleware for setting real ip.

Project description

WSGI middleware for setting:

  • environ["REMOTE_ADDR"]

based on:

  • environ["HTTP_X_FORWARDED_FOR"]

and proxy information.

Install it:

$ pip install wsgim-rip

and use it:

from wsgim_rip import RIPMiddleware

wrapped = RIPMiddleware(
         '': '',

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wsgim-rip-0.1.0.tar.gz (2.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page