[issue22229] wsgiref doesn't appear to ever set REMOTE_HOST in the environ

2019-11-18 Thread Batuhan
Batuhan added the comment: I didn't understand the issue. WSGIRequestHandler can be subclassed and address_string method may return something else. -- nosy: +BTaskaya ___ Python tracker

[issue22229] wsgiref doesn't appear to ever set REMOTE_HOST in the environ

2014-08-20 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag, pje stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bu

[issue22229] wsgiref doesn't appear to ever set REMOTE_HOST in the environ

2014-08-19 Thread Alex Gaynor
New submission from Alex Gaynor: 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