mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
Merge pull request #344 from RangelReale/htmlformcontentlength
HTMLForm Content-Length calculation
This commit is contained in:
@@ -60,4 +60,10 @@ const std::string& StringPartSource::filename() const
|
||||
}
|
||||
|
||||
|
||||
std::streamsize StringPartSource::getContentLength() const
|
||||
{
|
||||
return _istr.str().length();
|
||||
}
|
||||
|
||||
|
||||
} } // namespace Poco::Net
|
||||
|
||||
Reference in New Issue
Block a user