Add 'static_handler_args' application setting #335

merged 1 commit into from Aug 28, 2011


None yet
2 participants

alekstorm commented Aug 18, 2011

Add static_handler_args application setting to pass extra keyword arguments to the static file handler constructor.

I suppose this is the inevitable consequence of adding the static_handler_class setting. I promise I have a legitimate use case for this, and I'm sure it will prove useful to future implementors of custom StaticHandlerClass subclasses as well. The logic for adding the /favicon.ico and /robots.txt handlers is also slightly refactored.

Add 'static_handler_args' application setting to pass extra keyword a…

to static file handler constructor.

@bdarnell bdarnell merged commit 2affc6d into tornadoweb:master Aug 28, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment