mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
Net: near complete merge to 1.4.2
This commit is contained in:
@@ -68,6 +68,17 @@ FilePartSource::FilePartSource(const std::string& path, const std::string& media
|
||||
}
|
||||
|
||||
|
||||
FilePartSource::FilePartSource(const std::string& path, const std::string& filename, const std::string& mediaType):
|
||||
PartSource(mediaType),
|
||||
_filename(filename),
|
||||
_istr(path)
|
||||
{
|
||||
Path p(path);
|
||||
if (!_istr.good())
|
||||
throw OpenFileException(path);
|
||||
}
|
||||
|
||||
|
||||
FilePartSource::~FilePartSource()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user