Back to index

moin  1.9.0~rc2
Public Member Functions | Static Private Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def user_agent

Static Private Attributes

string __module__ = 'werkzeug.useragents'

Detailed Description

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

Definition at line 797 of file

Member Function Documentation

The current user agent.

Definition at line 809 of file

00810     def user_agent(self):
00811         """The current user agent."""
00812         from werkzeug.useragents import UserAgent
00813         return UserAgent(self.environ)

Here is the caller graph for this function:

Member Data Documentation

string = 'werkzeug.useragents' [static, private]

Definition at line 806 of file

The documentation for this class was generated from the following file: