litle fix in utils trim

+ added 2 functions to check script output
+ created a html page with 4 forms for tests
+ created 2 cpp forms, with and without creating header content-length
This commit is contained in:
Hugo LAMY
2022-08-15 00:24:08 +02:00
parent d663a4c7e6
commit f6f63931ad
12 changed files with 385 additions and 73 deletions

View File

@@ -226,7 +226,7 @@ std::string
begin = str.rfind(delim, pos);
if (begin == NPOS)
begin = 0;
else
else if (begin < pos)
begin += delim.size();
end = str.find(delim, pos);