[Catalyst] Conditional GET with Catalyst::Controller::REST
Oleg Kostyuk
cub.uanic at gmail.com
Thu Sep 25 14:34:50 BST 2008
> Short version is that everything works beautifully when
> doing a HEAD, and my 304 is happily returned, but the same
> code on a GET causes a 500, with nothing helpful logged.
> Code snippet is:
>
> sub index_GET {
> my ($self, $c) = @_;
> my $sset = $c->stash->{sset} or return;
Probably, when "return" is executed - you'll get unexpected result.
--
Sincerely yours,
Oleg Kostyuk (CUB-UANIC)
More information about the Catalyst
mailing list