[FIX] 500 error on connection when using PyWebDAV 0.9.4

(and maybe others)

Courtesy of Holger Brunn (Therp)

bzr revid: dle@openerp.com-20140411134203-lxt4mnquiiclv6w3
This commit is contained in:
Denis Ledoux 2014-04-11 15:42:03 +02:00
parent 4ed8413dc7
commit 452c77c09b
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ class DAVHandler(DAVRequestHandler, HttpOptions, FixSendError):
self.client_address = client_address
self.server = server
self.setup()
if hasattr(self, '_init_buffer'):
self._init_buffer()
def get_userinfo(self, user, pw):
return False