mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fix CI failure
This commit is contained in:
parent
2aa2f2f7da
commit
80575fe122
@ -56,13 +56,13 @@ std::unordered_map<String, String> parseHTTPResponseHeaders(const std::string &
|
|||||||
void applyHTTPResponseHeaders(Poco::Net::HTTPResponse & response, const HTTPResponseHeaderSetup & setup)
|
void applyHTTPResponseHeaders(Poco::Net::HTTPResponse & response, const HTTPResponseHeaderSetup & setup)
|
||||||
{
|
{
|
||||||
if (setup)
|
if (setup)
|
||||||
for (auto [header_name, header_value] : *setup)
|
for (const auto & [header_name, header_value] : *setup)
|
||||||
response.set(header_name, header_value);
|
response.set(header_name, header_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
void applyHTTPResponseHeaders(Poco::Net::HTTPResponse & response, const std::unordered_map<String, String> & setup)
|
void applyHTTPResponseHeaders(Poco::Net::HTTPResponse & response, const std::unordered_map<String, String> & setup)
|
||||||
{
|
{
|
||||||
for (auto [header_name, header_value] : setup)
|
for (const auto & [header_name, header_value] : setup)
|
||||||
response.set(header_name, header_value);
|
response.set(header_name, header_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user