Commit Graph

14 Commits (872461d51520505550da44b138884aa130281a0b)

Author SHA1 Message Date
Dustin C. Hatch fed7d0fb3d Merge default into py3k
--HG--
branch : py3k
2012-12-19 15:38:36 -06:00
Dustin C. Hatch d635e83431 Automatically create a Traverser instance if Application is given a root object 2012-11-30 22:47:06 -06:00
Dustin C. Hatch 17cac57721 Clean up __before__ and __after__ handling and make it Python 3-compatible
--HG--
branch : py3k
2012-11-30 14:37:02 -06:00
Dustin C. Hatch dc79fea9db Merged default into py3k
--HG--
branch : py3k
2012-11-30 13:19:55 -06:00
Dustin C. Hatch 5cd113ee46 Correctly use options_response for OPTIONS requests (fixes #5) 2012-11-30 13:13:17 -06:00
Dustin C. Hatch 5735d2b027 Better handling of string-type responses from controllers
--HG--
branch : py3k
2012-11-28 12:26:58 -06:00
Dustin C. Hatch 2980b438da Subclass WebOb Request and override relative_url (see #3) 2012-11-03 19:03:13 -05:00
Dustin C. Hatch 47cbd5c2d2 Patch requests that try to use POST "emulate" some other verb like PUT 2011-05-26 02:00:13 +00:00
Dustin C. Hatch 4c4ecbfe52 Respect the allowed methods of controller callables 2011-04-16 11:57:14 -05:00
Dustin C. Hatch 0fba1c95b9 Added licensing information and boilerplate messages 2011-04-05 23:47:44 -05:00
Dustin C. Hatch 303b0ff880 Added a `util` module and moved the `asbool` function there 2011-03-30 19:56:38 -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
Dustin C. Hatch 6cf47a0339 Added a traversal dispatch method and cleaned up the router
* Created a dispatcher protocol for classes to implement for path resolution
* Implemented a traversal dispatcher
* Updated the router to implement the dispatcher protocol
* Added unit tests for both dispatchers
* Replaced the Controller class with an Application class
2011-03-26 23:35:31 -05:00