Re: Recognizing a WebDAV enabled client

On Jun 30, 2006, at 10:09 AM, Julian Reschke wrote:

>
> 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.
>

Ah, ok (have not really used WebDAV, so this is not in my bones).

> What am I missing?

Nothing, thanks.

Jan
>
> Best regards, Julian
>

Received on Friday, 30 June 2006 08:17:54 UTC