Branch: Tag:

2004-03-24

2004-03-24 15:11:01 by Anders Johansson <anders@roxen.com>

Return a nicer displayname.

Rev: server/etc/modules/PropertySet.pike:1.2

226:    if (t > st->mtime) t = st->mtime;    return Roxen.iso8601_date_time(t); // MS kludge.    case "DAV:displayname": // RFC2518 13.2 +  if ((path == "") || (path == "/")) return "/"; +  if (path[-1] == '/') return basename(path[..sizeof(path)-2]);    return basename(path);    case "DAV:getcontentlanguage":// RFC2518 13.3    return "en"; // MS kludge.