Used response.get_data(True) instead of response.data.
Used response.get_data(True) instead of response.data.

libwilliam/flask-cdn,libwilliam/flask-cdn,stuartgc/flask-upcdn,libwilliam/flask-cdn,wichitacode/flask-cdn