mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00

fix: remove executable flag and change back to 100644 (was 100755) Signed-off-by: Roger Meier <r.meier@siemens.com>
54 lines
679 B
C++
54 lines
679 B
C++
//
|
|
// PartSource.cpp
|
|
//
|
|
// $Id: //poco/1.4/Net/src/PartSource.cpp#1 $
|
|
//
|
|
// Library: Net
|
|
// Package: Messages
|
|
// Module: PartSource
|
|
//
|
|
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#include "Poco/Net/PartSource.h"
|
|
|
|
|
|
namespace Poco {
|
|
namespace Net {
|
|
|
|
|
|
PartSource::PartSource():
|
|
_mediaType("application/octet-stream")
|
|
{
|
|
}
|
|
|
|
|
|
PartSource::PartSource(const std::string& mediaType):
|
|
_mediaType(mediaType)
|
|
{
|
|
}
|
|
|
|
|
|
PartSource::~PartSource()
|
|
{
|
|
}
|
|
|
|
|
|
namespace
|
|
{
|
|
static const std::string EMPTY;
|
|
}
|
|
|
|
|
|
const std::string& PartSource::filename() const
|
|
{
|
|
return EMPTY;
|
|
}
|
|
|
|
|
|
} } // namespace Poco::Net
|