fix : build failed because of change in managing 5xx http answer, the case where response.getEntity() returns null as no data was transmitted was unmanaged leading to a NPE.3