Is setting Content-Encoding possible?

0 views
Skip to first unread message

jago

unread,
Nov 22, 2008, 8:57:19 PM11/22/08
to Google App Engine
Hi,

I can set Mime-Type in app.yaml. I know the response object also
allows Content-Type, but no Content-Encoding which is vital for my
kind of application.

Is there no possibility to set this? Perhaps wiping headers clean and
directly use self.response.out.write(...) to write something that is
recognized by clients as a header?

Will Google ever support setting content-encoding?

For me this ia a show-stopper with Google appengine.

Cheers,
jago

Marzia Niccolai

unread,
Nov 24, 2008, 1:08:54 PM11/24/08
to google-a...@googlegroups.com
Hi Jago,

Currently, Google App Engine doesn't allow various headers to be set:
ACCEPT_ENCODING,

Outbound request headers:
CONTENT_LENGTH, DATE, HOST, REFERER, USER_AGENT, VARY, VIA, X_FORWARDED_FOR

Response headers:
CONTENT_ENCODING, CONTENT_LENGTH, DATE, SERVER, TRANSFER_ENCODING

Feel free to star this issue if you would like Google App Engine to support setting of these headers:
http://code.google.com/p/googleappengine/issues/detail?id=342

-Marzia
Reply all
Reply to author
Forward
0 new messages