Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CCDB/src/CCDBDownloader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ void CCDBDownloader::updateLocations(std::multimap<std::string, std::string>* he
}
}
}

// Insert location list at the current location index. This assures that the provided locations will be tried first.
locations->insert(locations->begin() + (*locIndex), newLocations.begin(), newLocations.end());
}
Expand Down
4 changes: 2 additions & 2 deletions CCDB/src/CcdbApi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -672,15 +672,15 @@ size_t header_map_callback(char* buffer, size_t size, size_t nitems, void* userd
if (key == "ETag") {
auto cl = headers->find("ETag");
if (cl != headers->end()) {
insert = false;
insert = false;
}
}

// Keep only the first Content-Type encountered
if (key == "Content-Type") {
auto cl = headers->find("Content-Type");
if (cl != headers->end()) {
insert = false;
insert = false;
}
}

Expand Down