First, I am getting emails in the digest mode so apologies to everyone if this has been already discussed after I got the last "issue", about five hours ago. I also need to have the webdav server working for MS. If somebody sent patches or links to them (other than the one I quoted below) I missed them completely. But more important than that, I would like to know if these patches had already been merged to later versions of Zope (I'm also using 2.8.4), or if there are plans for doing so. Thanks, Pablo
You're right, I've copied/pasted the same patch twice, sorry !
I use both the Ressource.py and Collection.py patches to make O2K3 happy.
Regards, Patrick.
On 3/3/06, Einar Næss Jensen <einar.nass.jensen@gmail.com> wrote:
---------- Forwarded message ---------- From: Einar Næss Jensen <einar.nass.jensen@gmail.com> Date: Mar 3, 2006 9:10 AM Subject: Re: [Zope] Re: (microsoft) webdav and zope 2.8.4 To: Patrick Decat <pdecat@gmail.com>
On 3/2/06, Patrick Decat <pdecat@gmail.com> wrote:
Then the following to Resource.py :
bash-3.00$ diff -c Resource.py Resource.py-patched *** Resource.py Thu Mar 2 16:37:27 2006 --- Resource.py-patched Thu Mar 2 16:37:25 2006 *************** *** 71,76 **** --- 71,77 ---- if not hasattr(response, '_server_version'): response.setHeader('Connection', 'close') response.setHeader('Date', rfc1123_date(), 1) + response.setHeader('MS-Author-Via', 'DAV')
# HTTP Range support if HTTPRangeInterface.isImplementedBy(self):
Works for me with Office 2003 products.
I think the correct is collection.py, and the missing line is line nr47. at least it worked for me after that.