url-list mime type
This commit is contained in:
parent
590444539c
commit
06e4a94eb0
|
@ -2826,7 +2826,8 @@ faked-sender = 100<br>
|
|||
<td valign=top >
|
||||
If the <tt>content</tt> variable is provided, this variable
|
||||
specifies the content type of the <tt>content</tt>. The default, if
|
||||
no content type is provided is <i>application/octet-stream</i>.
|
||||
no content type is provided (or can be gleaned from the HTTP
|
||||
request), this is set to <i>application/octet-stream</i>.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -3321,8 +3322,8 @@ Strings
|
|||
<b>How Response Content Is Interpreted</b>
|
||||
|
||||
<p>
|
||||
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 <tt>file</tt> content) response content
|
||||
type. For content fetched from URLs, the content type is taken as
|
||||
received from the HTTP server. For <tt>file</tt> content it is
|
||||
|
@ -3356,6 +3357,17 @@ Strings
|
|||
to be a binary-coded MM and will be returned as the response
|
||||
content.
|
||||
</li>
|
||||
<li>
|
||||
<b>URL List type:</b> A special Mbuni mime
|
||||
type <tt>application/vnd.mbuni.url-list</tt> has been defined, and
|
||||
files with extension <tt>.urls</tt> 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
|
||||
(<tt>file://</tt> and <tt>http(s)://</tt> supported), one per
|
||||
line. Mbuni will load each content item from the URL and build an MMS
|
||||
containing the list of data items (<tt>multipart/mixed</tt>).
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<b>Other Content Types:</b> All other content types cause an MM to
|
||||
be built having the corresponding content type. Where the content
|
||||
|
|
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue