Mercurial > pub > Impl
diff Lib/IMPL/Web/Handler/JSONView.pm @ 199:e743a8481327
Added REST support for forms (with only get and post methods)
author | sergey |
---|---|
date | Mon, 23 Apr 2012 01:36:52 +0400 |
parents | 2ffe6f661605 |
children | c8fe3f84feba |
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/JSONView.pm Fri Apr 20 16:06:36 2012 +0400 +++ b/Lib/IMPL/Web/Handler/JSONView.pm Mon Apr 23 01:36:52 2012 +0400 @@ -17,7 +17,7 @@ my $result = $next->($action); $result = [$result] unless ref $result; - $action->response->contentType('text/javascript'); + #$action->response->contentType('text/javascript'); my $hout = $action->response->streamBody;