httpagentparser icon indicating copy to clipboard operation
httpagentparser copied to clipboard

detect() should return all subfields for all keys, but with `none` or other null value.

Open gregglind opened this issue 10 years ago • 0 comments

Because `info.get('browser',{}).get('name', 'unkown') is gross in python :)

This could be done as

  1. module level 'config': 'complete=True'
  2. An arg to detect(full=true) or (verbose=True)
  3. Other / all of the above!

Holler if you like any of these / want a PR.

gregglind avatar Feb 11 '15 18:02 gregglind