diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-09-13 19:24:48 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-09-13 19:24:48 +0200 |
| commit | 8528526f0b6dc8828247ef03f11e4894580f8dd5 (patch) | |
| tree | f81dd07811a300274fed9098594d074291c069ec /budget/api.py | |
| parent | e13ceaf351d4b54dd2bc651d9f4385a8188b7418 (diff) | |
| download | ihatemoney-mirror-8528526f0b6dc8828247ef03f11e4894580f8dd5.zip ihatemoney-mirror-8528526f0b6dc8828247ef03f11e4894580f8dd5.tar.gz ihatemoney-mirror-8528526f0b6dc8828247ef03f11e4894580f8dd5.tar.bz2 | |
API: set the mimetype on the response
Diffstat (limited to 'budget/api.py')
| -rw-r--r-- | budget/api.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/budget/api.py b/budget/api.py index c50d668..ddaf65c 100644 --- a/budget/api.py +++ b/budget/api.py @@ -64,6 +64,8 @@ class MemberHandler(object): def delete(self, project, member_id): if project.remove_member(member_id): return Response('OK', status=200) + else: + return Response('Not Found', status=404) class BillHandler(object): |
