Manage http status code