Closed GoogleCodeExporter closed 9 years ago
Just found a workaround for my needs - request.connection.get_remote_addr()
But if request is a mod_python request object then get_remote_host() must be
available
as seen -
http://www.modpython.org/live/current/doc-html/pyapi-mprequest-meth.html
Original comment by ideam...@gmail.com
on 27 Dec 2009 at 6:09
Hi,
Thank you for the bug report.
You can also use remote_ip property of the connection object (mp_conn)
for both Apache and standalone.py.
I agree that ideally the standalone request object should completely mimic
mod_python request. Unfortunately, there are too many methods and members
to justify the cost of implementation for an experimental/test server.
Original comment by yuzo@chromium.org
on 5 Jan 2010 at 9:27
Thanks!
After some time I did suspect it to be an issue with standalone mode.
Original comment by ideam...@gmail.com
on 5 Jan 2010 at 1:07
Original issue reported on code.google.com by
ideam...@gmail.com
on 27 Dec 2009 at 5:59