python-webdav icon indicating copy to clipboard operation
python-webdav copied to clipboard

request failed: URI too long (longer than 8190)

Open recap opened this issue 11 years ago • 0 comments

in FileWrapper.read() the file seek position is continuously reset to initial position here:

if not data or size < 0 or size >= self.file_size: self.seek(self.initial_read_pos)

whereby httplib reads a datablock ad infinitum. This generates a long URI which is rejected by the server.

recap avatar Mar 28 '14 18:03 recap