I am trying to read the UserAgent from a request and perform operations based on it. Can anyone tell me, how I can get request UserAgent in Mojolicious.
Thanks.
I figured it out: $req->headers->user_agent
$req->headers->user_agent