Re: [Catalyst] Please Help: Aborting a Catalyst request in auto method

2017-04-16 Thread Gerhard Jungwirth
It looks okay actually, documentation: "If an |auto| action returns 0, any remaining actions will be skipped, except for |end|". It goes directly to end. You should restructure your code probably, so that the main handling doesn't happen in end. You can also use detach if you want. Also you

[Catalyst] Please Help: Aborting a Catalyst request in auto method

2017-04-16 Thread Rajesh Kumar Mallah
Hi , I want to return HTTP Status 401 along with a body indicating the friendly description from my auto method. so i have below in my auto: = sub auto :Private { my ( $self, $c ) = @_; my $path = $c->request->path ;

Re: [Catalyst] Static::Simple plugin does not load

2017-04-16 Thread Rajesh Kumar Mallah
> Hello > > I've installed a new Catalyst environment from scratch, and > Static::Simple does not show up in list of loaded plugins and does not > work. Hi Could you elaborate on "does not work" , you may post the logs that indicate the processing of a request for static object (gif,css,js etc).