You should use the response object:
def get(self):
self.response.headers['Content-Type'] = 'text/plain'
self.response.out.write('your json')
Cheers,
Alex
--
www.muspy.com
On Dec 29, 9:19 am, Chen Harel wrote:
> I'm trying to create a data table in an appengine, and send it back to
>
10x ! It worked :)
On Dec 29, 12:33 am, Alexander Kojevnikov
wrote:
> You should use the response object:
>
> def get(self):
> self.response.headers['Content-Type'] = 'text/plain'
> self.response.out.write('your json')
>
> Cheers,
> Alex
> --www.muspy.com
>
> On Dec 29, 9:19 am, Chen H