added response.flushBuffer