
App::Cerberus::Plugin::BrowserDetect - Add user-agent information to App::Cerberus

version 0.10

This plugin uses HTTP::BrowserDetect to add information about the user agent to Cerberus. For instance:
"ua": {
"is_robot": 0,
"is_mobile": 1,
"version": {
"minor": ".1",
"full": 5.1,
"major": "5"
},
"browser": "safari",
"device": "iphone",
"browser_properties": [
"ios",
"iphone",
"ipod",
"mobile",
"safari",
"device"
],
"os": "iOS"
}

User-Agent information is returned when an User-Agent value is passed in:
curl http://host:port/?ua=Mozilla%2F5.0 (compatible%3B Googlebot%2F2.1%3B %2Bhttp%3A%2F%2Fwww.google.com%2Fbot.html)

This plugin takes no configuration options:
plugins:
- BrowserDetect

Clinton Gormley <drtech@cpan.org>

This software is copyright (c) 2012 by Clinton Gormley.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.