winmillwill/BadFaith — pull request #10 by mikealmond (2012-07-09 13:43:33+00:00)
Title: Add default values for language and charset 

Some browsers don't send charset and language in certain circumstances. It should handle these gracefully

>[error] [client 66.249.71.182] PHP Notice: Undefined index: HTTP_ACCEPT_CHARSET in /var/www/html/vendor/BadFaith/BadFaith/lib/BadFaith/Negotiator.php on line 74
>[error] [client 66.249.71.182] PHP Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/vendor/BadFaith/BadFaith/lib/BadFaith/Negotiator.php on line 74
>[error] [client 66.249.71.182] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/vendor/BadFaith/BadFaith/lib/BadFaith/Negotiator.php on line 158