Roxen.git / server / etc / modules / PropertySet.pike

version» Context lines:

Roxen.git/server/etc/modules/PropertySet.pike:304:    case "DAV:getcontenttype": // RFC2518 13.5    return get_response_headers()["Content-Type"];       case "DAV:getetag": // RFC2518 13.6    return get_response_headers()->ETag;       case "DAV:getlastmodified": // RFC2518 13.7    return get_response_headers()["Last-Modified"];       case "DAV:lockdiscovery": // RFC2518 13.8 -  return indices(id->conf->find_locks(abs_path, 0, 0, id))->get_xml(); +  return values(id->conf->find_locks(abs_path, 0, 0, id))->get_xml();       case "DAV:resourcetype": // RFC2518 13.9    if ((get_stat()||([]))->isdir) {    return ({    SimpleElementNode("DAV:collection", ([])), // 12.2    });    }    return 0;       case "DAV:supportedlock": // RFC2518 13.11