[Zope] REQUEST_METHOD 'LOCK' 'LOCK'

Mark Gibson mark@kaivo.com
Wed, 25 Sep 2002 12:20:38 -0600


It worked!

Thanks to Casey and Chris W. for your help.

Mark

Casey Duncan wrote:

> This is a known Zope bug caused by ZServer passing an MS-Author-Via: DAV 
> header in the HTTP REQUEST which makes Work think you want to edit the file.
> 
> Word then sends a WebDAV lock request to Zope, which an anonymous user is not 
> authorized to do. So Word receives a 401 error and prompts you to 
> authenticate.
> 
> As a workaround, try commenting out line 64 of 
> {Zope}/lib/python/webdav/Resource.py. I intend to fix this bug when I get the 
> time in a configurable way.
> 
> hth,
> 
> -Casey
> 
> On Tuesday 24 September 2002 08:21 pm, Mark Gibson wrote:
> 
>> When downloading a word off a zope server using IE, the REQUEST object 
>> shows the REQUEST_METHOD as 'LOCK'.  Does anyone know what this means?
>> 
>> I get a network login prompt in windows when I try download this file. 
>> I can just cancel through it, and I get the file fine.  Is the 
>> REQUEST_METHOD set to 'LOCK' related?  How/where would the 
>> REQUEST_METHOD be set when downloading a file
>> 
>> Thanks,
>> 
>> 
>> Mark
>> 
>> 
>> _______________________________________________
>> Zope maillist  -  Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists - 
>>  http://lists.zope.org/mailman/listinfo/zope-announce
>>  http://lists.zope.org/mailman/listinfo/zope-dev )
>> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )