Flask: Playing around with request/response