Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS. - // $Id: module.pike,v 1.139 2003/06/17 11:58:34 grubba Exp $ + // $Id: module.pike,v 1.140 2003/06/17 12:41:55 grubba Exp $      #include <module_constants.h>   #include <module.h>   #include <request_trace.h>      constant __pragma_save_parent__ = 1;      inherit "basic_defvar";   mapping(string:array(int)) error_log=([]);   
Roxen.git/server/base_server/module.pike:344:    if (st->isreg) {    return id->conf->    type_from_filename(path, 0,    lower_case(Roxen.extension(path, id)));    }    break;    case "DAV:getlastmodified": // 13.7    return iso8601_date_time(st->mtime);    case "DAV:resourcetype": // 13.9    if (st->isdir) { -  return ({ Parser.XML.Tree.Node(Parser.XML.Tree.XML_ELEMENT, -  "DAV:collection", ([]), 0, -  "DAV:collection") }); // 12.2 +  return ({ +  Parser.XML.Tree.ElementNode("DAV:collection", ([])), // 12.2 +  });    }    return "";    case "http://apache.org/dav/props/executable":    // http://www.webdav.org/mod_dav/:    //    // Name: executable    // Namespace: http://apache.org/dav/props/    // Purpose: Describes the executable status of the resource.    // Value: "T" | "F" (case is significant)    // Description: This property is defined by mod_dav's default