mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-27 07:46:17 +01:00
send proper content-type on some PUT requests
This commit is contained in:
parent
50f437b46a
commit
5102a9bb00
@ -117,7 +117,7 @@ void FeedlyNetwork::tagEntries(const QString& tag_id, const QStringList& msg_cus
|
||||
output,
|
||||
QNetworkAccessManager::Operation::PutOperation,
|
||||
{ bearerHeader(bear),
|
||||
{ "Content-Type", "application/json" } },
|
||||
{ HTTP_HEADERS_CONTENT_TYPE, "application/json" } },
|
||||
false,
|
||||
{},
|
||||
{},
|
||||
|
@ -215,7 +215,7 @@ bool OwnCloudNetworkFactory::createFeed(const QString& url, int parent_id, const
|
||||
SETTING(Feeds::UpdateTimeout)).toInt(),
|
||||
QJsonDocument(json).toJson(QJsonDocument::JsonFormat::Compact),
|
||||
result_raw,
|
||||
QNetworkAccessManager::Operation::PostOperation,
|
||||
QNetworkAccessManager::Operation:: PostOperation,
|
||||
headers,
|
||||
false,
|
||||
{},
|
||||
|
Loading…
x
Reference in New Issue
Block a user