Loading src/http.cpp +0 −20 Changes for src/http.cpp: 0 added lines, 20 removed lines. Original line number Diff line number Diff line Loading @@ -2094,26 +2094,6 @@ void libhttppp::HttpCookie::parse(libhttppp::HttpRequest &curreq){ } } } // Process the final pair after the last semicolon (or the only pair if no semicolons) std::string cpair = raw_cookie_string.substr(current_pos); trim(cpair); size_t eq_pos = cpair.find("="); if (eq_pos != std::string::npos) { std::string key = cpair.substr(0, eq_pos); std::string value = cpair.substr(eq_pos + 1); trim(key); trim(value); if (!key.empty()) { CookieData *cdat = addCookieData(); cdat->_Key = key; cdat->_Value = value; } } } libhttppp::HttpCookie::CookieData *libhttppp::HttpCookie::getfirstCookieData(){ Loading Loading
src/http.cpp +0 −20 Changes for src/http.cpp: 0 added lines, 20 removed lines. Original line number Diff line number Diff line Loading @@ -2094,26 +2094,6 @@ void libhttppp::HttpCookie::parse(libhttppp::HttpRequest &curreq){ } } } // Process the final pair after the last semicolon (or the only pair if no semicolons) std::string cpair = raw_cookie_string.substr(current_pos); trim(cpair); size_t eq_pos = cpair.find("="); if (eq_pos != std::string::npos) { std::string key = cpair.substr(0, eq_pos); std::string value = cpair.substr(eq_pos + 1); trim(key); trim(value); if (!key.empty()) { CookieData *cdat = addCookieData(); cdat->_Key = key; cdat->_Value = value; } } } libhttppp::HttpCookie::CookieData *libhttppp::HttpCookie::getfirstCookieData(){ Loading