Unverified Commit 1982407f authored by hasankandemir1993's avatar hasankandemir1993 Committed by GitHub

Update cookie.cc

parent 80eac335
...@@ -105,8 +105,6 @@ Cookie::Cookie(std::string name, std::string value) ...@@ -105,8 +105,6 @@ Cookie::Cookie(std::string name, std::string value)
Cookie Cookie
Cookie::fromRaw(const char* str, size_t len) Cookie::fromRaw(const char* str, size_t len)
{ {
std::cout<<"From Raw initiated with" << str <<" " << endl;
RawStreamBuf<> buf(const_cast<char *>(str), len); RawStreamBuf<> buf(const_cast<char *>(str), len);
StreamCursor cursor(&buf); StreamCursor cursor(&buf);
...@@ -167,7 +165,6 @@ Cookie::fromRaw(const char* str, size_t len) ...@@ -167,7 +165,6 @@ Cookie::fromRaw(const char* str, size_t len)
Cookie Cookie
Cookie::fromString(const std::string& str) { Cookie::fromString(const std::string& str) {
std::cout<<"From String initiated with" << str <<" " << endl;
return Cookie::fromRaw(str.c_str(), str.size()); return Cookie::fromRaw(str.c_str(), str.size());
} }
...@@ -227,7 +224,7 @@ CookieJar::add(const Cookie& cookie) { ...@@ -227,7 +224,7 @@ CookieJar::add(const Cookie& cookie) {
} }
void // ADDED later with fix void // Unimplemented
CookieJar::removeCookie(const std::string& name) { CookieJar::removeCookie(const std::string& name) {
// Empty for now, can be used later // Empty for now, can be used later
} }
......
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