2014-03-22 7:33 GMT+01:00 Victor Seva <linuxmaniac(a)torreviejawireless.org>rg>:
2014-03-22 5:34 GMT+01:00 Juha Heinanen
<jh(a)tutpro.com>om>:
Any
comments?
does this include a function to remove a body part from a multipart body
and, if necessary, convert the body to non-multipart?
No, it doesn't. Very good point. Starting to implement that.
...
if (has_body("multipart/mixed")) {
if (filter_body("application/sdp") {
remove_hf("Content-Type");
append_hf("Content-Type: application/sdp\r\n");
} else {
xlog("Body part application/sdp not found\n");
}
}
...