i need check refferer. And render response if refferer is good;
what is right way for do that test?
пятница, 8 августа 2014 г., 1:17:01 UTC+4 пользователь sri написал:
>
> $tt->ua->on(start => sub {
>>> my ($ua, $tx) = @_;
>>>
>>> $tx->req->headers->referrer('http://127.0.0.1:'.$ua->server->{nb_port}.'/page/user');
>>> });
>>
>>
> I have no idea what the original problem was, but this is not the
> "correct" solution.
>
> --
> sebastian
>
--
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.