'Set a custom error page which is displayed if file is not found and
serving of a static website is enabled.
:param container: Container instance
:type container: :class:`Container`
:param file_name: Name of the object which becomes the error page.
:type file_name: ``str``
:rtype: ``bool``'

def ex_set_error_page(self, container, file_name='error.html'):

    container_name = container.name
    headers = {'X-Container-Meta-Web-Error': file_name}
    response = self.connection.request(('/%s' % container_name), method='POST', headers=headers, cdn_request=False)
    return (response.status in [httplib.CREATED, httplib.ACCEPTED])
