O'Reilly logo
  • Gilbert Wilson thinks this is interesting:

return make_response('Hello, world!', status=200, headers=headers)

From

Cover of Instant Flask Web Development

Note

This appears to be a code typo. With Flask 0.10 you'll get an error that an unexpected name argument "status" was encountered. To fix it pass make_response a tuple:

return make_response(('Hello, world!', 200, headers))