<table><tr><td style="">sitter added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19786">View Revision</a></tr></table><br /><div><div><p>setting server to keepalive=false? what is this? the 90's? :O</p>

<p>wouldn't it be simpler to <tt style="background: #ebebeb; font-size: 13px;">finishDav</tt> and recurse <tt style="background: #ebebeb; font-size: 13px;">rename</tt> with the redirected url? the code inside the conditional block is basically a code copy of the code above, so why not just throw away the duplicated code and start the request <br />
from the top? it'd solve this issue and prevent future issues at the cost of performance when/if renames are carried out without trailing slash but be 100% more reliable. or at the very least call <tt style="background: #ebebeb; font-size: 13px;">resetSessionSettings</tt> before the new request is set?</p>

<p>your diff looks good to me but I am not so sure about the original code there</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19786">https://phabricator.kde.org/D19786</a></div></div><br /><div><strong>To: </strong>hoffmannrobert, Frameworks, Dolphin, dfaure, sitter<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>