shon/httpagentparser — Issue #12: no "os" detected for iPad
Author: oliver
Created: 2012-01-01 13:15:53+00:00
State: open

Found this iPad UA string in my server logs, but httpagentparser.detect() doesn't give an "os" field:

>>> httpagentparser.detect('Mozilla/5.0 (iPad; U; CPU OS 4_3_5 like Mac OS X; de-de) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8L1 Safari/6533.18.5')
{'flavor': {'version': 'X', 'name': 'MacOS'}, 'browser': {'version': '5.0.2', 'name': 'Safari'}}

Should this be fixed in the parser, or should I fall back to using "flavor" as OS?