Loading src/http.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -2609,6 +2609,7 @@ size_t libhttppp::HttpRequest::parseH1() { // 5) Set request type if (method == "GET") _RequestType = GETREQUEST; else if (method == "POST") _RequestType = POSTREQUEST; else if (method == "DELETE") _RequestType = DELETEREQUEST; else _RequestType = PARSEREQUEST; // or a dedicated enum for others // 6) Store pseudo-headers in _firstHeaderData (unified storage) Loading src/httpd.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -820,6 +820,10 @@ REQUESTHANDLING: RequestEvent(cureq,tid,args); cureq._RequestType=PARSEREQUEST; break; case DELETEREQUEST: RequestEvent(cureq,tid,args); cureq._RequestType=PARSEREQUEST; break; case POSTREQUEST: { size_t clen = cureq.getContentLength(); std::cerr << "[H1-POST] clen=" << clen Loading Loading
src/http.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -2609,6 +2609,7 @@ size_t libhttppp::HttpRequest::parseH1() { // 5) Set request type if (method == "GET") _RequestType = GETREQUEST; else if (method == "POST") _RequestType = POSTREQUEST; else if (method == "DELETE") _RequestType = DELETEREQUEST; else _RequestType = PARSEREQUEST; // or a dedicated enum for others // 6) Store pseudo-headers in _firstHeaderData (unified storage) Loading
src/httpd.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -820,6 +820,10 @@ REQUESTHANDLING: RequestEvent(cureq,tid,args); cureq._RequestType=PARSEREQUEST; break; case DELETEREQUEST: RequestEvent(cureq,tid,args); cureq._RequestType=PARSEREQUEST; break; case POSTREQUEST: { size_t clen = cureq.getContentLength(); std::cerr << "[H1-POST] clen=" << clen Loading