Just noticed this and wondered if it's a security feature.
If you do:
self.response.headers['Content-Type'] = 'text/javascript'
self.response.out.write("foo")
On my machine you get:
<pre>foo</pre>
This caused a snafu when passing json back and forth between my client
and App Engine. Anyone know if this is standard behavior, maybe in
the underlying python framework? Did a simple search on the appengine
code and didn't find anything where a <pre> gets injected.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---