Corrected the type of Response.status to integer