Loading src/http.cpp +1 −1 Changes for src/http.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -1083,7 +1083,7 @@ void libhttppp::HttpCookie::setcookie(HttpResponse *curresp, HTTPException httpexception; if(!key || !value){ httpexception[HTTPException::Note] << "no key or value set in cookie!"; return; throw httpexception; } HttpHeader::HeaderData *dat=curresp->setData("set-cookie"); *dat << key << "=" << value; Loading Loading
src/http.cpp +1 −1 Changes for src/http.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -1083,7 +1083,7 @@ void libhttppp::HttpCookie::setcookie(HttpResponse *curresp, HTTPException httpexception; if(!key || !value){ httpexception[HTTPException::Note] << "no key or value set in cookie!"; return; throw httpexception; } HttpHeader::HeaderData *dat=curresp->setData("set-cookie"); *dat << key << "=" << value; Loading