change this:
- url: /images/.*
script: $PYTHON_LIB/google/appengine/ext/zipserve
to
- url: /images/.*
script: main.py # this could be other script, e.g. zipserve.py
then have a look at:
http://code.google.com/p/googleappengine/source/browse/trunk/google/appengine/ext/zipserve/__init__.py#36
and edit your main.py
and don't forget to include this in your main.py:
from google.appengine.ext import zipserve
On 11月19日, 下午1时45分, Adam Fisk <[EMAIL PROTECTED]> wrote:
> Is there any way to set an expires header for files served with google/
> appengine/ext/zipserve? I've got expires working for static content
> and within Django, but the zipserve files are slipping through my
> fingers.
>
> Thanks.
>
> -Adam Fisk
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---