Chose the 'if 'Metadata-Flavor: Google\r\n' in response.info().headers:' option.