[reSIProcate] How to define a new content type?

Enrik Berkhan Enrik.Berkhan at planb.de
Mon Jan 8 07:47:50 CST 2007


victor morales schrieb:
> My question is:
> 
> How can I have the XML content recognized as plain text so that I can  
> later parse it?
> 
> Is there some way to add a new content type to the stack?

Try something like

mProfile->addSupportedMimeType(NOTIFY,
   Mime("application", "simple-message-summary"));

for the method and content type you are using (with mProfile being the 
master profile).

Enrik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3307 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070108/7a46ab6e/attachment.bin>


More information about the resiprocate-devel mailing list