add boundary to multipart ocntent type

This commit is contained in:
Benjamin Reis 2018-02-14 13:59:49 +01:00
parent 4723f8d616
commit 3f4c6a5fa7
3 changed files with 4 additions and 3 deletions

View file

@ -23,8 +23,6 @@
#include "content-type.h"
#include "content/content.h"
#define MULTIPART_BOUNDARY "---------------------------14737809831466499882746641449"
// =============================================================================
using namespace std;

View file

@ -45,7 +45,7 @@ const ContentType ContentType::ExternalBody("message/external-body");
const ContentType ContentType::FileTransfer("application/vnd.gsma.rcs-ft-http+xml");
const ContentType ContentType::Imdn("message/imdn+xml");
const ContentType ContentType::ImIsComposing("application/im-iscomposing+xml");
const ContentType ContentType::Multipart("multipart/mixed");
const ContentType ContentType::Multipart("multipart/mixed;boundary=" MULTIPART_BOUNDARY);
const ContentType ContentType::PlainText("text/plain");
const ContentType ContentType::ResourceLists("application/resource-lists+xml");
const ContentType ContentType::Sdp("application/sdp");

View file

@ -22,6 +22,9 @@
#include "object/clonable-object.h"
#define MULTIPART_BOUNDARY "---------------------------14737809831466499882746641449"
// =============================================================================
LINPHONE_BEGIN_NAMESPACE