From 63b90a78459072af2a95b7aa31b9b8d0f85d8c87 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Tue, 17 Oct 2006 07:53:16 +0000 Subject: [PATCH] Remove quotes from text/xml content type (to please Logica MMC!) --- mbuni/mmlib/mms_mm7soap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mbuni/mmlib/mms_mm7soap.c b/mbuni/mmlib/mms_mm7soap.c index a290403..478c5aa 100644 --- a/mbuni/mmlib/mms_mm7soap.c +++ b/mbuni/mmlib/mms_mm7soap.c @@ -601,7 +601,7 @@ int mm7_soapmsg_to_httpmsg(MSoapMsg_t *m, List **hdrs, Octstr **body) http_destroy_headers(hx); hx = http_create_empty_headers(); - http_header_add(hx, "Content-Type", "\"text/xml\""); + http_header_add(hx, "Content-Type", "text/xml"); http_header_add(hx, "Content-ID", octstr_get_cstr(envloc)); mime_replace_headers(xml, hx); http_destroy_headers(hx); @@ -615,7 +615,7 @@ int mm7_soapmsg_to_httpmsg(MSoapMsg_t *m, List **hdrs, Octstr **body) http_destroy_headers(hh); - ctype = octstr_format("multipart/related; type=\"text/xml\"; start=\"%S\"", + ctype = octstr_format("multipart/related; type=text/xml; start=\"%S\"", envloc); octstr_destroy(envloc); @@ -625,7 +625,7 @@ int mm7_soapmsg_to_httpmsg(MSoapMsg_t *m, List **hdrs, Octstr **body) mime_entity_destroy(xml); mime_entity_destroy(c); } else { - ctype = octstr_imm("\"text/xml\""); + ctype = octstr_imm("text/xml"); s = headers_to_soapxml(m->envelope); mime_entity_set_body(mime,s); octstr_destroy(s);