Re: Recognizing a WebDAV enabled client

Michael Wechner schrieb:
>> Why would the server care?
> 
> because the server might be able to handle different versions of WebDAV. 
> I think this makes sense
> for backward and forward compatibility reasons.

Well, so far there are no different versions, so the server doesn't need 
to know.

If a spec revision or an extension should introduce a change where the 
server does need to know, the client *then* can send the DAV request 
header, as defined in 
<http://greenbytes.de/tech/webdav/draft-ietf-webdav-rfc2518bis-15.html#dav-header>.

> Also the server might want to deliver a different response, e.g. if the 
> GET request is being issued from a regular Web-Browser,
> then the server might respond with a common (X)HTML, but if the GET 
> request is being issued from Cadaver or OpenOffice then
> the server might respond with an ODT file.

Well, that's what the HTTP "Accept" request header is for.

 > ...

Best regards, Julian

Received on Friday, 30 June 2006 09:30:38 UTC