Skip to content

Commit 4e34f61

Browse files
committed
Pass headers in case of redirection in navigateURL...
1 parent aafaec5 commit 4e34f61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CCDB/src/CcdbApi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ void* CcdbApi::navigateURLsAndRetrieveContent(CURL* curl_handle, std::string con
916916
for (auto& l : locs) {
917917
if (l.size() > 0) {
918918
LOG(debug) << "Trying content location " << l;
919-
content = navigateURLsAndRetrieveContent(curl_handle, l, tinfo, nullptr);
919+
content = navigateURLsAndRetrieveContent(curl_handle, l, tinfo, headers);
920920
if (content /* or other success marker in future */) {
921921
break;
922922
}

0 commit comments

Comments
 (0)