@app.after_request
def force_content_type(response):
    response.headers['Content-Type'] = 'application/json; charset=utf-8'
    return response
Tests that hug allows limiting a value to one of a list of values
dataset/ETHPy150Open wikimedia/ifttt/ifttt/core.py/force_content_type--crossover with--dataset/ETHPy150Open timothycrosley/hug/tests/test_types.py/test_one_of