'Set the CORS for this bucket given a boto CORSConfiguration
object.
:type cors_config: :class:`boto.s3.cors.CORSConfiguration`
:param cors_config: The CORS configuration you want
to configure for this bucket.'

def set_cors(self, cors_config, headers=None):

    return self.set_cors_xml(cors_config.to_xml())
