Anyway, I went ahead and created a couple issues:

Cloud Endpoints cache control headers:
https://code.google.com/p/googleappengine/issues/detail?id=9042

Access "standard" parameters from within Cloud Endpoints @method
https://code.google.com/p/googleappengine/issues/detail?id=9043

On Fri, Mar 22, 2013 at 6:19 PM, alex <[email protected]> wrote:
> Hey guys, I was trying to set cache-control headers today (see old emails
> below) and seem to bump into the same issue: both dev and production servers
> always respond with "cache-control: no-cache".
>
> Just wanted to check in and see whether this is me or the feature isn't
> available yet.
>
> There doesn't seem to be anything related on the public issues tracker.
>
> Thanks!
> -- alex
>
> ---------- Forwarded message ----------
> From: "Danny Hermes" <[email protected]>
> Date: Nov 2, 2012 12:33 AM
> Subject: Re: Python Endpoints Expires headers
>
>> Doug,
>>
>> Thanks for bringing this up. It appears we are missing a piece here and we
>> are looking into it.
>>
>> We will be distributing a new version of the code soon, and hopefully a
>> fix will be in place.
>>
>> I'll update this thread once it is nailed down.
>>
>>
>> On Wed, Oct 31, 2012 at 6:43 PM, Doug Chestnut <[email protected]>
>> wrote:
>>>
>>> So i've looked into this a little more and have tried this with no
>>> success (same response headers as before):
>>>
>>>   @endpoints.method(CatalogRequest, CatalogQueryResponse,
>>>                     path="catalog", http_method='GET',
>>> name="catalog.query",
>>>                     cache_control=CacheControl(CacheControl.PRIVATE,100)
>>> )
>>>   def CatalogQuery(self, request):
>>>       ...
>>>
>>> On Wed, Oct 31, 2012 at 3:21 PM, Doug Chestnut <[email protected]>
>>> wrote:
>>> > Sorry if this question has been asked and answered already.  Is there
>>> > a way to set the expires headers for endpoint responses so they get
>>> > cached by the browser?  I'm seeing headers like
>>> > "cache-control:no-cache, no-store, max-age=0, must-revalidate" and
>>> > "expires:Fri, 01 Jan 1990 00:00:00 GMT" in my responses currently.
>>> >
>>> > Thanks,
>>> > --Doug
>>>
>>
>>
>>
>> --
>> Danny Hermes
>> Developer Programs Engineer

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to