diff Lib/IMPL/Web/NotAcceptableException.pm @ 229:47f77e6409f7

heavily reworked the resource model of the web application: *some ResourcesContraact functionality moved to Resource +Added CustomResource *Corrected action handlers
author sergey
date Sat, 29 Sep 2012 02:34:47 +0400
parents c8fe3f84feba
children
line wrap: on
line diff
--- a/Lib/IMPL/Web/NotAcceptableException.pm	Thu Sep 13 17:55:01 2012 +0400
+++ b/Lib/IMPL/Web/NotAcceptableException.pm	Sat Sep 29 02:34:47 2012 +0400
@@ -7,8 +7,8 @@
     }
 };
 
-sub code {
-    406;
+sub status {
+    "406 Not acceptable"
 }
 
 1;