def new_command(client, args):
    task_key = add_task(client, args.description)
    print('Task {} added.'.format(task_key.id))
The accept header should be parsed into a list of sets of MediaType.
dataset/ETHPy150Open GoogleCloudPlatform/python-docs-samples/datastore/api/tasks.py/new_command--crossover with--dataset/ETHPy150Open tomchristie/flask-api/flask_api/tests/test_mediatypes.py/AcceptHeaderTests.test_parse_complex_accept_header