write to the output buffer instead of printing:
self.response.out.write(_decrypt(content))


On Oct 26, 10:53 pm, millken <[EMAIL PROTECTED]> wrote:
> result = urlfetch.fetch(pageurl)
> content = result.content
> print _decrypt(content)
>
> the content(json) was encrypted,
>
> print header:
> HTTP/1.0 200 Good to go
> Server: Development/1.0 Python/2.5.2
> Date: Mon, 27 Oct 2008 05:15:53 GMT
> {"result":"1","reason":null,"content":"[{\"ID\":8287,\"Productid\":
> \"M0000545001\",\"Name\":\"test\"}]"}
> Cache-Control: no-cache
> content-length: 0
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to