Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
3f4c6a5f
Commit
3f4c6a5f
authored
Feb 14, 2018
by
Benjamin REIS
Browse files
add boundary to multipart ocntent type
parent
4723f8d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
src/content/content-manager.cpp
src/content/content-manager.cpp
+0
-2
src/content/content-type.cpp
src/content/content-type.cpp
+1
-1
src/content/content-type.h
src/content/content-type.h
+3
-0
No files found.
src/content/content-manager.cpp
View file @
3f4c6a5f
...
...
@@ -23,8 +23,6 @@
#include "content-type.h"
#include "content/content.h"
#define MULTIPART_BOUNDARY "---------------------------14737809831466499882746641449"
// =============================================================================
using
namespace
std
;
...
...
src/content/content-type.cpp
View file @
3f4c6a5f
...
...
@@ -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"
);
...
...
src/content/content-type.h
View file @
3f4c6a5f
...
...
@@ -22,6 +22,9 @@
#include "object/clonable-object.h"
#define MULTIPART_BOUNDARY "---------------------------14737809831466499882746641449"
// =============================================================================
LINPHONE_BEGIN_NAMESPACE
...
...
Sylvain Berfini
🐮
@SylvainBerfini
mentioned in commit
a4614bf4
·
Jun 01, 2018
mentioned in commit
a4614bf4
mentioned in commit a4614bf48269e9e59fd25d9f02e94d4ab8f1a3ed
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment