Undocumented
Method | __init__ |
Undocumented |
Property | browser |
The browser name, if it could be parsed from the string. |
Property | language |
The browser language, if it could be parsed from the string. |
Property | platform |
The OS name, if it could be parsed from the string. |
Property | version |
The browser version, if it could be parsed from the string. |
Class Variable | _parser |
Undocumented |
Instance Variable | _browser |
Undocumented |
Instance Variable | _language |
Undocumented |
Instance Variable | _platform |
Undocumented |
Instance Variable | _version |
Undocumented |
Inherited from UserAgent
:
Method | __bool__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | to_header |
Convert to a header value. |
Instance Variable | string |
The original header value. |
werkzeug.user_agent.UserAgent.__init__
werkzeug.useragents.UserAgent
Undocumented
Parameters | |
string:str | Undocumented |
werkzeug.user_agent.UserAgent.browser
werkzeug.user_agent.UserAgent.language
werkzeug.user_agent.UserAgent.platform
werkzeug.user_agent.UserAgent.version