Flask return 204 No Content response

Flask is an amazing framework for building web application in Python. It’s main features are easy to use, very small learning curve, it has everything included that you need (or it can be easily extended) and it just gets out of your way of development.

It offers few simple ways to return data in format that we want: HTML, JSON, XML and others.