]> git.ipfire.org Git - thirdparty/tornado.git/commit
_get_host_handlers() now returns all host matches. 628/head
authorJon Parise <jon@indelible.org>
Sun, 18 Nov 2012 19:45:38 +0000 (11:45 -0800)
committerJon Parise <jon@indelible.org>
Sun, 18 Nov 2012 19:52:33 +0000 (11:52 -0800)
commit364321653935686a71097a3995acd7cf20c74d7a
treea8a7689b6c49aabec2cc7ce64ff75f24fbf3ee00
parenta5fffe3259d7d5c2786c49058442a07fab6cacf3
_get_host_handlers() now returns all host matches.

This approach has more clearly defined precedence rules than the
previous insertion-time strategy implemented in add_handlers().

It also correctly leaves pattern matching in the hands of the regular
expression evaluator as opposed to directly comparing pattern strings.
tornado/test/web_test.py
tornado/web.py