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 joru
Recipients docs@python, georg.brandl, joru
Date 2013-10-06.14:50:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381071040.18.0.246214788539.issue18229@psf.upfronthosting.co.za>
In-reply-to
Content
what _lowerHTTP does is try read request header 'X-Forwarded-For', but instance of request handler have attribute headers only if thing that connected to port where server listens happened to send valid enough http request

my problem is, documentation does not help write code that would not crash when client sends random bytes instead of expected http request
History
Date User Action Args
2013-10-06 14:50:40jorusetrecipients: + joru, georg.brandl, docs@python
2013-10-06 14:50:40jorusetmessageid: <1381071040.18.0.246214788539.issue18229@psf.upfronthosting.co.za>
2013-10-06 14:50:40jorulinkissue18229 messages
2013-10-06 14:50:40jorucreate