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

version» Context lines:

Roxen.git/server/etc/modules/PropertySet.pike:89:   //! Only properties that should be listed by @tt{<DAV:allprop/>@}   //! are returned.   //!   //! @note   //! The following properties are required to keep   //! @tt{Microsoft Data Access Internet Publishing Provider DAV 1.1@}   //! as supplied with @tt{Microsoft Windows 2000@} happy:   //!   //! @string   //! @value "DAV:creationdate" - //! RFC2518 13.1 + //! @rfc{2518:13.1@}   //!   //! @value "DAV:displayname" - //! RFC2518 13.2 + //! @rfc{2518:13.2@}   //!   //! @value "DAV:getcontentlanguage" - //! RFC2518 13.3 + //! @rfc{2518:13.3@}   //!   //! @value "DAV:getcontentlength" - //! RFC2518 13.4 + //! @rfc{2518:13.4@}   //!   //! @value "DAV:getcontenttype" - //! RFC2518 13.5 + //! @rfc{2518:13.5@}   //!   //! @value "DAV:getetag" - //! RFC2518 13.6 + //! @rfc{2518:13.6@}   //!   //! @value "DAV:getlastmodified" - //! RFC2518 13.7 + //! @rfc{2518:13.7@}   //!   //! @value "DAV:lockdiscovery" - //! RFC2518 13.8 + //! @rfc{2518:13.8@}   //!   //! @value "DAV:resourcetype" - //! RFC2518 13.9 + //! @rfc{2518:13.9@}   //!   //! @value "DAV:supportedlock" - //! RFC2518 13.11 + //! @rfc{2518:13.11@}   //!   //! @value "DAV:defaultdocument"   //! @tt{draft-hopmann-collection-props-00@} 1.3   //!   //! Specifies the default document for a collection.   //!   //! This property contains an URL that identifies the default   //! document for a collection. This is intended for collection   //! owners to be able to set a default document, for example   //! @tt{index.html@} or @tt{default.html@}. If this property
Roxen.git/server/etc/modules/PropertySet.pike:266:    if (hdrs["Last-Modified"]) props["DAV:getlastmodified"] = 1;    return props;    }    // Null resource.    return all_properties_common + (<>);   }      //! Returns the value of the specified property, or an error code   //! mapping.   //! - //! The default implementation takes care of the most important RFC - //! 2518 properties. + //! The default implementation takes care of the most important + //! @rfc{2518@} properties.   //!   //! @note   //! Returning a string is shorthand for returning an array   //! with a single text node.   string|array(SimpleNode)|mapping(string:mixed)    query_property(string prop_name)   {    switch(prop_name) {   #if 0    // We don't really have any idea of the creation time in a unix