From 06e4a94eb084c47acd72576013fe5e6432fd0a13 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Wed, 16 Jul 2008 18:50:34 +0000 Subject: [PATCH] url-list mime type --- mbuni/doc/userguide.shtml | 18 +++++++++++++++--- mbuni/mmlib/mms_util.h | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/mbuni/doc/userguide.shtml b/mbuni/doc/userguide.shtml index 2e646b2..8db15b7 100644 --- a/mbuni/doc/userguide.shtml +++ b/mbuni/doc/userguide.shtml @@ -2826,7 +2826,8 @@ faked-sender = 100
If the content variable is provided, this variable specifies the content type of the content. The default, if - no content type is provided is application/octet-stream. + no content type is provided (or can be gleaned from the HTTP + request), this is set to application/octet-stream. @@ -3321,8 +3322,8 @@ Strings How Response Content Is Interpreted

- When the MMS Service response content is fetched by the VAS - gateway, it is converted into an MM based on the reported or + When the MMS Service response content is fetched for a service, or a message is + pushed using the send-mms interface, it is converted into an MM based on the reported or inferred (in the case of file content) response content type. For content fetched from URLs, the content type is taken as received from the HTTP server. For file content it is @@ -3356,6 +3357,17 @@ Strings to be a binary-coded MM and will be returned as the response content. +

  • + URL List type: A special Mbuni mime + type application/vnd.mbuni.url-list has been defined, and + files with extension .urls are mapped to this content type + (if the content type is not provided by the HTTP server or other + means). Files of this type should contain a list of URLs + (file:// and http(s):// supported), one per + line. Mbuni will load each content item from the URL and build an MMS + containing the list of data items (multipart/mixed). +
  • +
  • Other Content Types: All other content types cause an MM to be built having the corresponding content type. Where the content diff --git a/mbuni/mmlib/mms_util.h b/mbuni/mmlib/mms_util.h index 4afdc88..4f2c7c9 100644 --- a/mbuni/mmlib/mms_util.h +++ b/mbuni/mmlib/mms_util.h @@ -53,7 +53,7 @@ #define _TT "0123456789abcdefghijklmnopqrstuvwxyz" #define _TTSIZE (-1 + sizeof _TT) -#define MBUNI_MULTIPART_TYPE "application/vnd.vnd.mbuni.url-list" +#define MBUNI_MULTIPART_TYPE "application/vnd.mbuni.url-list" /* Global variables and shared code used by all modules. */