projects
/
catagits/Catalyst-Action-Serialize-Data-Serializer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bb4130f
)
The content type for 404's should be text/plain
adam [Wed, 18 Oct 2006 00:15:17 +0000 (
00:15
+0000)]
lib/Catalyst/Controller/REST.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Controller/REST.pm
b/lib/Catalyst/Controller/REST.pm
index
0b1aaca
..
1195f13
100644
(file)
--- a/
lib/Catalyst/Controller/REST.pm
+++ b/
lib/Catalyst/Controller/REST.pm
@@
-71,6
+71,7
@@
sub status_not_found {
);
$c->response->status(404);
+ $c->response->content_type('text/plain');
$c->response->body($p{'message'});
return 1;
}