On 3/23/09 6:05 AM, Remko Tronçon wrote:
>> Currently, I ignore the content-type in my prototype but that is not very
>> elegant. Is a content type for messages already supported or can I easily
>> derive such a message type?
> 
> What types of content are you sending? Messages currently only have
> plain text bodies, and XHTML-IM bodies. If you want to add custom
> payloads to messages, you can define your own element in your own
> namespace to wrap the data in.

Well, for small pieces of information you can also use the "Bits of
Binary" extension:

http://xmpp.org/extensions/xep-0231.html

But XMPP does not have official content-types of the kind you're
probably familiar with from email.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to