def get_headers_with_mime(config, mime_type):
    """Gets the common HTTP headers"""
    token = config['credentials']['cloco_access_token']
    headers = {'content-type': mime_type, 'authorization': 'Bearer ' + token}
    return headers
