I have a flask app setup on mod_wsgi/Apache and need to log the IP Address of the user. request.remote_addr returns \"127.0.0.1\" and this fix attempts to correct that but I
You can't safely do that, because the you can't trust all the parts in a http (or tcp) connection