kio/kio-mr1008-fix-webdav.diff

14 lines
634 B
Diff
Raw Normal View History

diff --git a/src/ioslaves/http/http.cpp b/src/ioslaves/http/http.cpp
index ec3c8809f70fae7331d7d4871a2203be6d94204a..c54e568d28febc094b0aa5445b18a52eb0ff44f3 100644
--- a/src/ioslaves/http/http.cpp
+++ b/src/ioslaves/http/http.cpp
@@ -5522,7 +5522,7 @@ bool HTTPProtocol::davDestinationExists()
m_request.cacheTag.policy = CC_Reload;
m_request.davData.depth = 0;
- (void)/* handling result via response codes */ (true);
+ (void)/* handling result via response codes */proceedUntilResponseContent(true);
if (!m_request.isKeepAlive) {
httpCloseConnection(); // close connection if server requested it.