Merge pull request #344 from RangelReale/htmlformcontentlength

HTMLForm Content-Length calculation
This commit is contained in:
Aleksandar Fabijanic
2014-05-21 22:27:12 -05:00
12 changed files with 164 additions and 5 deletions

View File

@@ -147,6 +147,7 @@ void HTMLFormTest::testWriteMultipart()
"This is another attachment\r\n"
"--MIME_boundary_0123456789--\r\n"
);
assert(s.length() == form.calculateContentLength());
}