Commit Graph

6 Commits (922a82e4e8da9d520528993b3d9fe36c9e9e8253)

Author SHA1 Message Date
Dustin 922a82e4e8 FaviconController: Work without pkg_resources (fixes #4)
If the `pkg_resources` module is not available, the `FaviconController` will
fall back to finding the default image in the same directory on the filesystem
as the `milla` package.
2015-04-15 20:08:50 -05:00
Dustin C. Hatch 5529b66a57 Add Expires header to favicon controller responses 2012-11-19 17:30:13 -06:00
Dustin C. Hatch 6154f8b6f8 Fix favicon (fixes #1)
* Include milla.ico in package_data in setup.py
* Use pkg_resources API to load icon instead of milla.__file__
* Allow caller to specify icon content type
2012-10-16 19:59:35 -05:00
Dustin C. Hatch 0fba1c95b9 Added licensing information and boilerplate messages 2011-04-05 23:47:44 -05:00
Dustin C. Hatch 9fa85fac47 Added an icon and support for automatically serving favicon.ico 2011-03-27 15:24:41 -05:00
Dustin C. Hatch 9b30000a36 Support for `__before__` and `__after__` method calls for controllers
For convenience, a `Controller` class now exists from which all classes wanting to implement these methods should descend. This will allow sane cooperative multiple inheritance.
2011-03-27 14:54:42 -05:00