diff options
Diffstat (limited to 'foundry/router.py')
-rw-r--r-- | foundry/router.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/foundry/router.py b/foundry/router.py new file mode 100644 index 0000000..233fa30 --- /dev/null +++ b/foundry/router.py | |||
@@ -0,0 +1,22 @@ | |||
1 | # vim: set filencoding=utf8 | ||
2 | """ | ||
3 | RESTful URL Router | ||
4 | |||
5 | @author: Mike Crute (mcrute@gmail.com) | ||
6 | @organization: SoftGroup Interactive, Inc. | ||
7 | @date: May 20, 2010 | ||
8 | """ | ||
9 | |||
10 | |||
11 | class Renderer(object): | ||
12 | pass | ||
13 | |||
14 | |||
15 | class JSONRenderer(Renderer): | ||
16 | |||
17 | can_handle = ('application/json', 'text/json') | ||
18 | |||
19 | |||
20 | |||
21 | class Resource(object): | ||
22 | pass | ||