'Save a cached tile.'

def save(self, body, layer, coord, format):

    key_name = tile_key(layer, coord, format, self.path)
    key = self.bucket.new_key(key_name)
    (content_type, encoding) = guess_type(('example.' + format))
    headers = ((content_type and {'Content-Type': content_type}) or {})
    key.set_contents_from_string(body, headers, policy=self.policy, reduced_redundancy=self.reduced_redundancy)
