user_agent $query->user_agent( [string] ) Returns the value of the HTTP_USER_AGENT header. string If specified, only returns headers matching the specified string.