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

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;
 }