Files
deb-python-falcon/tests/test_wsgi.py
Kurt Griffiths 7bd27140ef fix(Request): Improve access_route perf and error handling
Tune performance of the Request.access_route property, while also
making error handling more consistent, in the case that a header value
is malformed. Also, add a test to ensure that wsgiref passes
REMOTE_ADDR in the environment dict, as has been observed in production
WSGI servers. This is necessary to ensure that Request.access_route's
fallback to REMOTE_ADDR makes sense.
2016-01-04 18:42:22 -06:00

4.7 KiB