Send HTTP status from flask wrapper