I am trying to enable gzip in our appengine-flex service.
I followed the instructions 
in https://cloud.google.com/appengine/docs/flexible/java/dev-jetty9

The app.yaml has the following addition
env_variables:
JETTY_MODULES_ENABLE: 'gzip'

However for requests that we make using URLConnection from another 
appengine module (standard appengine), the responses are
not zipped. AFAICT the responses made from chrome are not zipped either.
The responses from our service are "text/plain".

We are using a custom runtime running java and jetty9. Here is the 
dockerfile.
Thanks for your help.

FROM gcr.io/google-appengine/jetty9

RUN apt-get -q update && \

    apt-get -y -q --no-install-recommends -t jessie-backports install 
openjdk-8-jdk && \

    apt-get -y -q --no-install-recommends install ssh sshpass netcat && \

    apt-get clean && \

    rm /var/lib/apt/lists/*_*

ADD backend.war $JETTY_BASE/webapps/root.war

WORKDIR $JETTY_BASE

RUN java -jar $JETTY_HOME/start.jar --approve-all-licenses \

 --add-to-startd=jmx,stats,hawtio,requestlog \

 -Djava.util.logging.config.file=src/main/appengine/logging.properties \

 && chown -R jetty:jetty $JETTY_BASE

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/eb94c68c-1d4e-4945-a150-9da716b8d28a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appeng... Vinay Chitlangia
    • [google-a... 'Mohammad I (Cloud Platform Support)' via Google App Engine

Reply via email to