Hi All,
I have a hosted application on Google app engine. Running fine. It serves
the response in gZip format.
It has a high CPU consumption so i am testing it on Managed VM as well. It
runs fine on managed VM but the problem is that the response is not
compressed. I tried few filters including webutilities-0.0.7 but still no
luck.
response.setContentType("application/x-java-serialized-object");
response.setHeader("Content-Encoding", "gzip");
GZIPOutputStream gos = new GZIPOutputStream(response.getOutputStream());
ObjectOutputStream oos = new ObjectOutputStream(gos);
oos.writeObject(rs);
gos.finish();
oos.flush();
oos.close();
I am sending a serialised object in compressed form. The above code works
fine on app engine.
Please help
--
Deepak Singh
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/CAF6cnzZ1%2Bz5sOgcV1NnGnwe%2BoFWwaNU-yQ95uqKqhDDzYe8wUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.