diff options
Diffstat (limited to 'src/storage/plugins/CurlStorage.cxx')
-rw-r--r-- | src/storage/plugins/CurlStorage.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/storage/plugins/CurlStorage.cxx b/src/storage/plugins/CurlStorage.cxx index 13150d920..581a0cca4 100644 --- a/src/storage/plugins/CurlStorage.cxx +++ b/src/storage/plugins/CurlStorage.cxx @@ -259,6 +259,8 @@ public: CommonExpatParser(ExpatNamespaceSeparator{'|'}) { request.SetOption(CURLOPT_CUSTOMREQUEST, "PROPFIND"); + request.SetOption(CURLOPT_FOLLOWLOCATION, 1l); + request.SetOption(CURLOPT_MAXREDIRS, 1l); request_headers.Append(StringFormat<40>("depth: %u", depth)); |