Is it possible to get whole message that Mojolicious is going to send?
I did it using 'after_dispatch' hook. But, I can't access cookies there. I 
need it for debug purposes. 

I can see in the source, that cookies is added to the headers right after 
this hook:
$app->plugins->emit_hook_reverse(after_dispatch => $self); 
$app->sessions->store($self);
https://github.com/kraih/mojo/blob/master/lib/Mojolicious/Controller.pm

I use Mojolicious::Sessions to add data to cookies:
$self->session(initialized   => 1);

Thanks,
Dmitry

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to