Remove quotes from text/xml content type (to please Logica MMC!)
This commit is contained in:
parent
f2d45f4164
commit
63b90a7845
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue