2011/8/18 Branko Vukelić <[email protected]>: > On 2011-08-18 10:48 -0700, andrei wrote: >> I've did some testing with the latest versions: Firefox and Opera >> download, Chrome and Safari display. >> >> Setting web.header("Content-Type", "text/plain") makes them all >> display. > > AFAIK, 'text/plain' would be the best bet if the intention is to simply > dump stuff for testing purposes.
I set the content type to "application/json" by default and change it to "text/plain" if there is a query parameter text=true. That makes it easier to debug in the browser. Anand -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
