thebestsolution/TBS-Zend-Library — pull request #6 by adnam (2014-03-09 19:42:14+00:00)
Title: Extract Internet media type from content-type header 'application/json'

I notices that the Google OAuth2 response was returning:

Content-Type: application/json; encoding=utf8

Which meant that the "if" statement on line 50 of OAuth2/Consumer.php was returning False, when the expected result was True.

Regards, Adam