// only property names requested
if (propFindType == PROPFIND_PROPERTY_NAMES) {
PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, true);
for (DavPropertyName propName : resource.getPropertyNames()) {
status200.addContent(propName);
}
// all or a specified set of property and their values requested.
} else {
PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, false);
// clone set of property, since several resources could use this again