Re: Recognizing a WebDAV enabled client

Jan Algermissen schrieb:
> Hi,
> 
> On Jun 30, 2006, at 9:50 AM, Julian Reschke wrote:
> 
>> Michael Wechner schrieb:
>>> Hi
>>> It's not clear to me how a server can recognize a WebDAV enabled 
>>> client from a GET request and
>>
>> It can't.
> 
> I will run into the same question in the near future, so let me get this 
> right:
> 
> I have implemented an HTTP resource for something collection-like and 
> like to serve that up as HTML lists or WebDAV collections depending on 
> the client capabilities. Are you saying I cannot detect if I am talking 
> to a client that can handles WebDAV collections or not? That's seems silly.

If a client does a GET on that URL, return HTML. If a client does a 
PROPFIND on that URL, return a XML multistatus response body.

What am I missing?

Best regards, Julian

Received on Friday, 30 June 2006 08:09:42 UTC