Re: Recognizing a WebDAV enabled client

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.

this might working for collections, because PROPFIND exists ;-) and 
hence allows differentiation
>
> What am I missing?

as I described I think there are good reaons that also a GET request 
needs differentiation, but also more generally being
able to recognize the version.

Thanks

Michi
>
> Best regards, Julian
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61

Received on Friday, 30 June 2006 08:20:46 UTC