Monday, October 06, 2008

设置response头,输出xml,并设置编码

self.response.headers['Content-Type'] = 'text/xml;charset=utf-8'
self.response.out.write('<res>RPC</res>')

No comments: