The content type for 404's should be text/plain
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Controller / REST.pm
index 0b1aaca..1195f13 100644 (file)
@@ -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;
 }