Commit 025a0d1b authored by knowledge4igor's avatar knowledge4igor

Tiny code cleanup

parent 116ea24e
......@@ -298,9 +298,7 @@ namespace Private {
message->cookies_.addFromRaw(cursor.offset(start), cursor.diff(start));
}
else if (name == "Set-Cookie") {
auto c = Cookie::fromRaw(cursor.offset(start), cursor.diff(start));
message->cookies_.add(c);
std::cout << "[HeadersStep::apply] Set-Cookie: " << c.name << " " << c.value << "\n";
message->cookies_.add(Cookie::fromRaw(cursor.offset(start), cursor.diff(start)));
}
else if (Header::Registry::isRegistered(name)) {
std::shared_ptr<Header::Header> header = Header::Registry::makeHeader(name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment