'Updates the authenticated users profile banner.
Args:
image:
Location of image in file system
include_entities:
If True, each tweet will include a node called "entities."
This node offers a variety of metadata about the tweet in a
discrete structure, including: user_mentions, urls, and hashtags.
[Optional]
Returns:
A twitter.List instance representing the list subscribed to'

def UpdateBanner(self, image, include_entities=False, skip_status=False):

    url = ('%s/account/update_profile_banner.json' % self.base_url)
    with open(image, 'rb') as image_file:
        encoded_image = base64.b64encode(image_file.read())
    data = {'banner': encoded_image}
    if include_entities:
        data['include_entities'] = 1
    if skip_status:
        data['skip_status'] = 1
    resp = self._RequestUrl(url, 'POST', data=data)
    if (resp.status_code in [200, 201, 202]):
        return True
    if (resp.status_code == 400):
        raise TwitterError({'message': 'Image    data    could    not    be    processed'})
    if (resp.status_code == 422):
        raise TwitterError({'message': 'The    image    could    not    be    resized    or    is    too    large.'})
    raise TwitterError({'message': 'Unkown    banner    image    upload    issue'})
