This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alex
Recipients alex
Date 2014-08-19.17:34:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408469645.6.0.0733162760485.issue22229@psf.upfronthosting.co.za>
In-reply-to
Content
Based on a reading of the code:

https://github.com/python/cpython/blob/master/Lib/wsgiref/simple_server.py#L88-L90

is where REMOTE_HOST is set.

However, `address_string` always returns `self.client_address[0]` (https://github.com/python/cpython/blob/master/Lib/http/server.py#L568), which means that `!=` comparison always returns False, which means REMOTE_HOST is never actually set correctly.
History
Date User Action Args
2014-08-19 17:34:05alexsetrecipients: + alex
2014-08-19 17:34:05alexsetmessageid: <1408469645.6.0.0733162760485.issue22229@psf.upfronthosting.co.za>
2014-08-19 17:34:05alexlinkissue22229 messages
2014-08-19 17:34:05alexcreate