about Ajax and Karrigell

44 views
Skip to first unread message

chen_...@live.cn

unread,
Nov 25, 2011, 7:12:28 AM11/25/11
to karrigell
Hi,Administrator,I am chinese,so my english is very bad~
when I use the Ajax and Karrigell, I need the background to return
data in XML format,but Karrigell returned Content-Type format is not
the "Content-Type:text/xml ? I think the return is the "text/html" ?
I do not know how to do~~
thank you!

Pierre Quentel

unread,
Nov 25, 2011, 4:06:23 PM11/25/11
to karrigell
Hi,

You can set the content-type header by :

RESPONSE_HEADERS.replace_header('Content-type','text/xml')

Hope this helps,
Pierre

Reply all
Reply to author
Forward
0 new messages