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);