- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Mon, 27 Aug 2001 16:43:15 +0200
- To: "Dylan Barrell" <dbarrell@opentext.com>, "Rickard Falk" <rickard.falk@excosoft.se>, <w3c-dist-auth@w3.org>
WebDAV should still say what it means if a property "must be defined", but doesn't have a value... > -----Original Message----- > From: w3c-dist-auth-request@w3.org > [mailto:w3c-dist-auth-request@w3.org]On Behalf Of Dylan Barrell > Sent: Monday, August 27, 2001 4:36 PM > To: Rickard Falk; w3c-dist-auth@w3.org > Subject: RE: Getcontentlength & GetContentType > > > GET on a collection is not covered by DAV. You want to get the > contents of a > collection, then do a PROPFIND. > > You therefore don't have to maintain those proprties for collections (they > also don't make sense). > > --Dylan > > > -----Original Message----- > > From: w3c-dist-auth-request@w3.org > > [mailto:w3c-dist-auth-request@w3.org]On Behalf Of Rickard Falk > > Sent: Monday, August 27, 2001 9:53 AM > > To: w3c-dist-auth@w3.org > > Subject: Getcontentlength & GetContentType > > > > > > What should I respond if a client asks for the properties > > Getcontentlength or GetContentType on a collection? > > The spec states: > > "The getcontentlength property MUST be defined on any > > DAV compliant resource that returns the Content-Length header in > > response to a GET." > > > > But it doesn't say, if the value a supposed to be the same as if > > I perform a 'Get' on that url. The collection itself doesn't > > normally have a content, so does this mean that if the collection > > have a default page. That it should return the values of that > > page? Or if the server is set to send a generated HTML page > > listing the children, should the values be text/html and the size > > of that page? > > > > Or have I missed something in the spec? > > > > /Rickard Falk >
Received on Monday, 27 August 2001 10:43:51 UTC