From a4614bf48269e9e59fd25d9f02e94d4ab8f1a3ed Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 14 Feb 2018 14:21:52 +0100 Subject: [PATCH] Revert "add boundary to multipart ocntent type" This reverts commit 3f4c6a5fa793abf70d07bd5087621939815a4cae. --- src/content/content-manager.cpp | 2 ++ src/content/content-type.cpp | 2 +- src/content/content-type.h | 3 --- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/content/content-manager.cpp b/src/content/content-manager.cpp index 5d6c66139..46cc01c28 100644 --- a/src/content/content-manager.cpp +++ b/src/content/content-manager.cpp @@ -23,6 +23,8 @@ #include "content-type.h" #include "content/content.h" +#define MULTIPART_BOUNDARY "---------------------------14737809831466499882746641449" + // ============================================================================= using namespace std; diff --git a/src/content/content-type.cpp b/src/content/content-type.cpp index 93e27859c..66b22e7f9 100644 --- a/src/content/content-type.cpp +++ b/src/content/content-type.cpp @@ -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;boundary=" MULTIPART_BOUNDARY); +const ContentType ContentType::Multipart("multipart/mixed"); const ContentType ContentType::PlainText("text/plain"); const ContentType ContentType::ResourceLists("application/resource-lists+xml"); const ContentType ContentType::Sdp("application/sdp"); diff --git a/src/content/content-type.h b/src/content/content-type.h index 473b0ab80..d37168f08 100644 --- a/src/content/content-type.h +++ b/src/content/content-type.h @@ -22,9 +22,6 @@ #include "object/clonable-object.h" - -#define MULTIPART_BOUNDARY "---------------------------14737809831466499882746641449" - // ============================================================================= LINPHONE_BEGIN_NAMESPACE