[google-appengine] Re: AppEngine GET response headers

2008-12-28 Thread Alexander Kojevnikov
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 >

[google-appengine] Re: AppEngine GET response headers

2008-12-28 Thread Chen Harel
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