@@ -376,7 +376,7 @@ void CServerHandler::proxyPass(const Pistache::Http::Request& req, Pistache::Htt
|
|||||||
for (auto it = resp.cookies().begin(); it != resp.cookies().end(); ++it) {
|
for (auto it = resp.cookies().begin(); it != resp.cookies().end(); ++it) {
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
ss << *it;
|
ss << *it;
|
||||||
response.headers().add(std::make_shared<SetCookieHeader>(ss.str()));
|
response.cookies().add(*it);
|
||||||
|
|
||||||
Debug::log(TRACE, "Header out: Set-Cookie: {}", ss.str());
|
Debug::log(TRACE, "Header out: Set-Cookie: {}", ss.str());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user