Mercurial > mozilla > hg > dogfood
comparison dogdish/dispatcher.py @ 3:4521527b93f6
syntax error
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 10 Oct 2012 16:24:15 -0700 |
parents | 2cb8b06d64df |
children | 4a5a4582be3b |
comparison
equal
deleted
inserted
replaced
2:e0ea3f0b407a | 3:4521527b93f6 |
---|---|
43 def match(cls, request): | 43 def match(cls, request): |
44 return request.method == 'GET' | 44 return request.method == 'GET' |
45 | 45 |
46 def __call__(self): | 46 def __call__(self): |
47 return Response(content_type='text/xml', | 47 return Response(content_type='text/xml', |
48 self.body) | 48 body=self.body) |
49 | 49 |
50 class Dispatcher(object): | 50 class Dispatcher(object): |
51 | 51 |
52 ### class level variables | 52 ### class level variables |
53 defaults = {} | 53 defaults = {} |