From 01e4b753cb5fe41d4f8f51a929eed8f595ef1221 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 14 Feb 2018 14:21:50 +0100 Subject: [PATCH] Better fix for multipart boundary in content type --- src/content/content-manager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content/content-manager.cpp b/src/content/content-manager.cpp index ce6fe3545..5d6c66139 100644 --- a/src/content/content-manager.cpp +++ b/src/content/content-manager.cpp @@ -94,7 +94,9 @@ Content ContentManager::contentListToMultipart (const list &contents) { Content content; content.setBody(desc); - content.setContentType(ContentType::Multipart); + ContentType contentType = ContentType::Multipart; + contentType.setParameter("boundary=" + boundary); + content.setContentType(contentType); belle_sip_free(desc); belle_sip_object_unref(mpbh);