]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add a `trusted_downstream` argument to HTTPServer, allowing trusted proxy hosts to... 1864/head
authorLeynos <leynos@troubledskies.net>
Sun, 23 Oct 2016 14:40:29 +0000 (15:40 +0100)
committerLeynos <leynos@troubledskies.net>
Sun, 23 Oct 2016 14:40:29 +0000 (15:40 +0100)
commit1852a03b120bfa219877bde306397e36b46f4f55
tree65da3e7ca3cc6b0705f4a5db7876ff0578689ea2
parent4d783c641b815d7a20c41c1f0d3511bebb15bc97
Add a `trusted_downstream` argument to HTTPServer, allowing trusted proxy hosts to be skipped in the `X-Forwarded-For` chain when using the `xheaders` option.
tornado/httpserver.py
tornado/test/httpserver_test.py