HN44 / pywebdav

Automatically exported from code.google.com/p/pywebdav
0 stars 0 forks source link

Lock and unlock fails #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start the server with no authentication
2. Use a webdav client to try and lock a file
3. Lock fails

What is the expected output? What do you see instead?
Expected output is a valid response from the server. Result is an error, though
the lock actually takes place (leaving resource in locked state without 
returning
lock token).

What version of the product are you using? On what operating system?
Using version 0.9.9 (latest source from google code).

Please provide any additional information below.

I made some small fixes. The BaseHTTPRequestHandler.send_response method 
expects a response code of an integer type. Strings were being passed in 
several places. Patch file is attached.

Original issue reported on code.google.com by bex.le...@gmail.com on 7 Nov 2012 at 10:34

Attachments: