vkrause added a comment.
In D24316#552528 <https://phabricator.kde.org/D24316#552528>, @dfaure wrote: > I'm on the Applications/19.08 git branch, which shouldn't get broken by a newer KF5 release. > > Your patch works for Content-Type, but the duplicated Depth still leads to "Bad request". > > Where does the second Depth come from? I see one at line 2411, I guess the other comes from kdav via metadata, but not from line 2599 according to my debug output. The second Depth is likely also in customHTTPHeader meta data, which currently isn't available for checking when generating the Depth header. Moving this further up and doing a similar check in 2411 might be enough. > I assume that if we revert this (or rather #ifdef KF6), kdav master needs a revert (#ifdef) too? Yes. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D24316 To: vkrause, dfaure Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns