self.response.headers['Cache-Control'] = 'public, max-age=300'

Use a = instead of a :

On 11 Mrz., 08:16, Kurt <[email protected]> wrote:
> Hi.
>
> I am having a tough time getting edge caching to work.
>
> I have a simple handler that does:
>
>         self.response.headers['Cache-Control'] = 'public, max-age:300'
>         self.response.headers['Pragma'] = 'Public'
>
> My app is:
>
> * hosted on a custom domain
> * billing enabled
>
> But all I see are 200's in the logs.  With edge cache, I should see
> 204s.
>
> Is there something I am missing?

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