mirror of
https://git.tesses.org/tesses50/tessesframework.git
synced 2026-06-02 02:25:31 +00:00
Add both Basic auth and CGI support
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user