Back to index

moin  1.9.0~rc2
Public Member Functions | Static Private Attributes
MoinMoin.support.werkzeug.wrappers.UserAgentMixin Class Reference
Inheritance diagram for MoinMoin.support.werkzeug.wrappers.UserAgentMixin:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.werkzeug.wrappers.UserAgentMixin:
Collaboration graph
[legend]

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`
object.

Definition at line 797 of file wrappers.py.


Member Function Documentation

The current user agent.

Definition at line 809 of file wrappers.py.

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

Here is the caller graph for this function:


Member Data Documentation

string MoinMoin.support.werkzeug.wrappers.UserAgentMixin.__module__ = 'werkzeug.useragents' [static, private]

Definition at line 806 of file wrappers.py.


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