mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
add text/xml
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11148 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b759ce73cd
commit
2b48c6abdc
@ -659,6 +659,8 @@ abyss_bool handler_hook(TSession * r)
|
|||||||
ResponseAddField(r, "Content-Type", "text/html");
|
ResponseAddField(r, "Content-Type", "text/html");
|
||||||
} else if (text) {
|
} else if (text) {
|
||||||
ResponseAddField(r, "Content-Type", "text/plain");
|
ResponseAddField(r, "Content-Type", "text/plain");
|
||||||
|
} else if (xml) {
|
||||||
|
ResponseAddField(r, "Content-Type", "text/xml");
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < r->response_headers.size; i++) {
|
for (i = 0; i < r->response_headers.size; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user