HN44 / pywebdav

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

Put action issue with Apple Finder client #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I found one issue in pywebdav r35 (impact presumably previous revision).

Put action (copy one file from Mac OS X desktop to pywebdav server) fail
when I use Apple Finder client.

What I see in Finder GUI :

1. progress bar show copy data progression
2. error message say :

"""
The operation cannot be completed because you do not have sufficient
privileges for some of the items.
"""

Put action work well on :

* cadaver
* gnome nautilus
* konqueror

Currently, I try to fix this bug.

Regards,
Stephane

Original issue reported on code.google.com by klein.stephane on 12 Jul 2009 at 4:02

GoogleCodeExporter commented 8 years ago
Can you paste the messages on the console or even start davserver with -v so to 
see
if there are any errors on console. Couldn't reproduce this error here on 10.4.

Original comment by spamsch@gmail.com on 13 Jul 2009 at 7:49

GoogleCodeExporter commented 8 years ago
I've do the test on MacOSX version 10.5.2

I'm working on fixing, bug is around LOCK feature.

This evening or tomorrow I send my patch.

Regards,
Stephane

Original comment by klein.stephane on 13 Jul 2009 at 6:09

GoogleCodeExporter commented 8 years ago
Hi,

this patch fix do_PUT issue with Finder of MacOSX version 10.5.2

Unfortunately I have another issue with MacOSX version 10.5.7 :

* Finder send data (do_PUT) in HTTP 1.1, chunked mode :

Transfer-Encoding: Chunked 

I look for handle this request.

Original comment by klein.stephane on 14 Jul 2009 at 9:14

Attachments:

GoogleCodeExporter commented 8 years ago
Is it possible to handle Chunked request with BaseHTTPRequestHandler ? 
I found some information in python mailing list that say it's impossible !

Original comment by klein.stephane on 14 Jul 2009 at 9:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Yes, it is possible to handle Chunked request with BaseHTTPRequestHandler. Last
evening I have success to read chunked data in a pdb session...

Patch coming soon...

Original comment by klein.stephane on 16 Jul 2009 at 7:21

GoogleCodeExporter commented 8 years ago
This patch fix this issue with Finder 10.5.7

Original comment by klein.stephane on 17 Jul 2009 at 11:52

Attachments:

GoogleCodeExporter commented 8 years ago
Spamsch, what do you think about this patch.

Someone can test it before I commit it to trunk ?

Original comment by klein.stephane on 17 Jul 2009 at 12:07

GoogleCodeExporter commented 8 years ago

Original comment by klein.stephane on 20 Jul 2009 at 9:39