werkzeug.UserAgentMixin

class werkzeug.UserAgentMixin[source]

Adds a user_agent attribute to the request object which contains the parsed user agent of the browser that triggered the request as a UserAgent object.

Attributes

user_agent The current user agent.