Actually, the error because because the headers are present... You
need to strip them out.

On Apr 5, 10:57 pm, "Wesley C (Google)" <[email protected]> wrote:
> i haven't tested this, but just from the advice given by Adobe, it
> seems that it could be as simple as altering the headers as
> described...
>
> if 'Pragma' in self.response.headers: # should also check 'pragma'
>     del self.response.headers['Pragma']
> self.response.headers['Cache-control'] = 'max-age=0,must-revalidate'
>
> let me know if this works or not, or post your solution if it differs
> from this one!
>
> best regards,
> -- wesley
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "Core Python Programming", Prentice Hall, (c)2007,2001
> "Python Fundamentals", Prentice Hall, (c)2009
>    http://corepython.com
>
> wesley.j.chun :: wesc+api-at-google-dot-com
> developer relations :: google app engine
> @app_engine :: googleappengine.blogspot.com

-- 
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.

Reply via email to