Add both Basic auth and CGI support

This commit is contained in:
2025-12-04 13:24:23 -06:00
parent abe444d22b
commit 2861fba6f2
15 changed files with 315 additions and 18 deletions

View File

@@ -124,6 +124,7 @@ namespace Tesses::Framework::Http
{
len = std::min((size_t)(this->length - this->position), len);
if(len > 0)
len = this->strm->Write(buff,len);
this->position += len;
@@ -131,6 +132,7 @@ namespace Tesses::Framework::Http
}
else
{
if(len == 0) return 0;
if(this->http1_1)
{
std::stringstream strm;