check for CDOResourceNode instead of CDOResource
adjusted http status