On Fri, May 14, 2010 at 8:29 AM, Francis Joanis
<
francis.joanis@xxxxxxxxx> wrote:
> Hi guys,
>
> I've been experimenting with an extended version of the pidf+xml
> content type (by extended I mean there are a few more fields to it).
> Since pidf+xml is already registered to the Pidf contents class
> (through the content factory), every time I try to read it out of a
> SipMessage instance it ends up dropping the additional fields since
> Pidf::encode re-encodes the XML payload from its cached data.
>
> I was wondering if there's a way to get the raw data of a content
> instance, something like Data Contents::getRaw() or
> Contents::encodeRaw?
>
> If there is no way of currently doing this, I'll try to implement it
> and let you know of the result.
>
> Thanks,
> Francis
>
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel