brew install python
curl -O http://python-distribute.org/distribute_setup.py
python distribute_setup.py
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
pip install --upgrade pip
pip install flask
python app.py
python app.py True
curl --header "Accept: xxx" http://127.0.0.1:5000/
curl --header "Accept: application/json" http://127.0.0.1:5000/
curl -H 'Accept:' http://127.0.0.1:5000/
curl -X POST http://127.0.0.1:5000/
python test.py