[google-appengine] TemplateSyntaxError: Caught ImportError while rendering: No module named http (while migrating py2.5 to py2.7 application)

2011-10-31 Thread Mariano Benitez
I am porting my app to python 2.7 and I got it running until I try to 
render my templates. I cannot easily trace which tag or filter is causing 
trouble...

I get the following stack trace:

Caught ImportError while rendering: No module named http
Traceback (most recent call last):
  File 
"/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 1511, in __call__
rv = self.handle_exception(request, response, e)
  File 
"/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 1505, in __call__
rv = self.router.dispatch(request, response)
  File 
"/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 1253, in default_dispatcher
return route.handler_adapter(request, response)
  File 
"/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 1077, in __call__
return handler.dispatch()
  File 
"/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 547, in dispatch
return self.handle_exception(e, self.app.debug)
  File 
"/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 545, in dispatch
return method(*args, **kwargs)
  File 
"/base/data/home/apps/s~regalatufoto-v5/v44.354351615236544078/app/handlers/base.py",
 line 306, in get
self.processResponse(self.GetResponse())
  File 
"/base/data/home/apps/s~regalatufoto-v5/v44.354351615236544078/app/handlers/base.py",
 line 222, in smartGetResponse
response = self.buildResponse()
  File 
"/base/data/home/apps/s~regalatufoto-v5/v44.354351615236544078/app/handlers/base.py",
 line 344, in buildResponse
content = renderHtmlTemplate(templatePath, values)
  File 
"/base/data/home/apps/s~regalatufoto-v5/v44.354351615236544078/app/utils.py", 
line 115, in renderHtmlTemplate
return renderTemplate(path, values)
  File 
"/base/data/home/apps/s~regalatufoto-v5/v44.354351615236544078/app/utils.py", 
line 95, in renderTemplate
return template.render(fullpath, values, debug=True)
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/ext/webapp/template.py",
 line 89, in render
return t.render(Context(template_dict))
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/ext/webapp/template.py",
 line 169, in wrap_render
return orig_render(context)
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py",
 line 173, in render
return self._render(context)
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py",
 line 167, in _render
return self.nodelist.render(context)
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py",
 line 794, in render
bits.append(self.render_node(node, context))
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/template/debug.py",
 line 72, in render_node
result = node.render(context)
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py",
 line 125, in render
return compiled_parent._render(context)
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py",
 line 167, in _render
return self.nodelist.render(context)
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py",
 line 794, in render
bits.append(self.render_node(node, context))
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/template/debug.py",
 line 72, in render_node
result = node.render(context)
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/template/defaulttags.py",
 line 361, in render
from google.appengine._internal.django.core.urlresolvers import reverse, 
NoReverseMatch
  File 
"/base/python27_runtime/python27_lib/versions/1/google/appengine/_internal/django/core/urlresolvers.py",
 line 12, in 
from google.appengine._internal.django.http import Http404
TemplateSyntaxError: Caught ImportError while rendering: No module named http


I included django 1.2 and PIL 1.1.7 in the libraries, but no difference...


Any help?

Thanks,

MAriano

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/CQE6cXubA1kJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: TemplateSyntaxError: Caught ImportError while rendering: No module named http (while migrating py2.5 to py2.7 application)

2011-10-31 Thread Mariano Benitez
looking at the sources 
here
 I 
found this line: 

from google.appengine._internal.django.http import Http404
package http is not there in the sources, but I found that class Http404 is 
now in django package itself 
here


Any help is appreciated!!!

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/ANIciPS8ikoJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: TemplateSyntaxError: Caught ImportError while rendering: No module named http (while migrating py2.5 to py2.7 application)

2011-11-01 Thread Mariano Benitez
Thanks Brian,

Further question: is there a way to create a similar tag and register it? 
so I do not need to rewrite all my templates.. :)

Something like this might work?

from google.appengine.ext import webapp
 
register = webapp.template.create_template_register()

def url(blah???):
  pass # but not really, do something here...

register.tag(url)


Does anyone have a snippet to get urls in the new runtime?

Thanks!!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/9oRrOHqPKvcJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] copying data from appengine datastore admin to my dev server. failed with status 401

2011-11-08 Thread Mariano Benitez
Hello,

I am trying to copy data from my appengine to my dev server, instead of 
doing the normal bulk download/upload, I tried the datastore admin copy 
function. I've setup the dev server public ip so it can be seen from 
outside.

When I try to run it from appengine, it fails with status 401, not 
authorized.

Is it possible to use this anyway? seems like a nice way to populate my dev 
database.

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/eJsdLLfmtkwJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] copying data from appengine datastore admin to my dev server. failed with status 401

2011-11-09 Thread Mariano Benitez
Thanks Nick, 

This is an exceptional case, where I am seeding my dev environment. I don't 
regularly leave my dev server public. :)

Anyway, I though it was a simple way to seed, since it does not involve any 
command line.

If you think it will never work, it's ok, but it would be good if you 
include a small comment in the docs.

Best,

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/YyxTNhU0ZhkJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: AppStats in Python 2.7 apps

2011-11-14 Thread Mariano Benitez
I am using appstats just by editing the appengine_config.py and adding the 
builtins appstats: on, I am using webpp and django without problems.

seems to be working fine.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/voffpdjivHIJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] 30 minutes of DeadlineExceededError waiting for datastore, is the appengine status online?

2011-11-23 Thread Mariano Benitez
My application (regalatufoto-v6) has suffered of 30 minutes 
of DeadlineExceededError, new instances of my application take 30s to load 
now (thanks to python 2.7 and threadsafe).

Anyone suffered this problem? Appengine status says everything's fine, but 
definitively the datastore was taking too long to respond.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/JA__YCQwkfQJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] 24 hours with 403 Over Quota and I cannot know the reason

2008-09-02 Thread Mariano Benitez

As many, I started uploading things in the data store and I started
receiving the 403 Over Quota response.

the app is http://regalatufoto.appspot.com/

I realized I should be using memcache instead of querying the
datastore directly, and I fixed it.

But now it's been a day (20 hours) and I cannot access my application.

Is it possible that I need to way 24 hours to reset that? Also if I
try to access the data viewer I get a 500 internal serve error from
the dashboard app.

Any help is appreciated.
MAriano

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---



[google-appengine] Re: 24 hours with 403 Over Quota and I cannot know the reason

2008-09-02 Thread Mariano Benitez

exactly 24 hours later, I got my service back, but I still don't know
which quouta was exceeded.

MAriano

On Sep 1, 8:45 pm, Mariano Benitez <[EMAIL PROTECTED]> wrote:
> As many, I started uploading things in the data store and I started
> receiving the 403 Over Quota response.
>
> the app ishttp://regalatufoto.appspot.com/
>
> I realized I should be using memcache instead of querying the
> datastore directly, and I fixed it.
>
> But now it's been a day (20 hours) and I cannot access my application.
>
> Is it possible that I need to way 24 hours to reset that? Also if I
> try to access the data viewer I get a 500 internal serve error from
> the dashboard app.
>
> Any help is appreciated.
> MAriano
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---



[google-appengine] Can I change the login option of my app if I delete it?

2010-03-22 Thread Mariano Benitez
I understand I cannot change the option while the application is
enabled. Also that the application Id is reserved if I delete the
application. But... can I re-create the application with a different
login option, or the app id is reserved to never be used again?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Can I change the login option of my app if I delete it?

2010-03-23 Thread Mariano Benitez
Yes, I've read this paragraph: "Even after your application is
deleted, its appid is reserved."

But for me it was not clear if the appid can be claimed by myself
again, if it is that way, no problem. :)

Thanks

On Mar 22, 9:32 pm, Eli Jones  wrote:
> Here is the specific documentation on app deletion:
>
> http://code.google.com/appengine/kb/adminconsole.html#delete_app
>
> <http://code.google.com/appengine/kb/adminconsole.html#delete_app>You cannot
> use the appid again, unfortunately.
>
>
>
> On Mon, Mar 22, 2010 at 8:25 PM, djidjadji  wrote:
> > To my knowledge the appid can only be once allocated.
> > If you delete the app the appid is no more available.
>
> > 2010/3/23 Mariano Benitez :
> > > I understand I cannot change the option while the application is
> > > enabled. Also that the application Id is reserved if I delete the
> > > application. But... can I re-create the application with a different
> > > login option, or the app id is reserved to never be used again?
>
> > > Thanks!
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > > To post to this group, send email to google-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: All Read Please: Geographical Request Latency

2009-08-14 Thread Mariano Benitez

Buenos Aires, ~210ms no peaks


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] How can I know the version I am running in Production?

2008-10-22 Thread Mariano Benitez

I would like to do some stuff (reset caches, for example) when I
deploy a new version, and I would also like to know which version of
the files I am using (you know... proxies...).
AFAIK there is no $VERSION variable that I can use, I will use my SVN
build number, but it would be nice to know that.

Thanks, GAE is great!
MAriano
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---



[google-appengine] Re: How can I know the version I am running in Production?

2008-10-22 Thread Mariano Benitez

I need to know it inside my app so I can do something like  so that way I know if the proxies are
still caching my pages or not.
Mariano

On Oct 23, 12:15 am, "Venkatesh Rangarajan"
<[EMAIL PROTECTED]> wrote:
> Doesn't the version in appengine dashboard do just that ?
>
> On Wed, Oct 22, 2008 at 6:49 PM, Mariano Benitez <[EMAIL PROTECTED]> wrote:
>
> > I would like to do some stuff (reset caches, for example) when I
> > deploy a new version, and I would also like to know which version of
> > the files I am using (you know... proxies...).
> > AFAIK there is no $VERSION variable that I can use, I will use my SVN
> > build number, but it would be nice to know that.
>
> > Thanks, GAE is great!
> > MAriano
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---



[google-appengine] is there a way to tell the deployer to ignore some directories and/or files?

2008-10-22 Thread Mariano Benitez

I've moved my data directory inside the app "gae/trunk/data". I've
marked it "ignored" for subversion, but I assume the appengine is
still uploading everything.

I think I read somewhere that there's no way to ignore some files, but
I am just asking again... (maybe there's a new answer now).

MAriano
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---



[google-appengine] Re: is there a way to tell the deployer to ignore some directories and/or files?

2008-10-22 Thread Mariano Benitez

Thanks a lot!

On Oct 23, 12:57 am, "Dan Sanderson" <[EMAIL PROTECTED]> wrote:
> Check out the skip_files configuration 
> directive:http://code.google.com/appengine/docs/configuringanapp.html#Skipping_...
>
> -- Dan
>
> On Wed, Oct 22, 2008 at 7:54 PM, Mariano Benitez <[EMAIL PROTECTED]> wrote:
>
> > I've moved my data directory inside the app "gae/trunk/data". I've
> > marked it "ignored" for subversion, but I assume the appengine is
> > still uploading everything.
>
> > I think I read somewhere that there's no way to ignore some files, but
> > I am just asking again... (maybe there's a new answer now).
>
> > MAriano
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---



[google-appengine] Re: is there a way to tell the deployer to ignore some directories and/or files?

2008-10-22 Thread Mariano Benitez

ok that worked, now.. I use PIL, should I skip PIL too?

Mariano


On Oct 23, 1:53 am, Mariano Benitez <[EMAIL PROTECTED]> wrote:
> Thanks a lot!
>
> On Oct 23, 12:57 am, "Dan Sanderson" <[EMAIL PROTECTED]> wrote:
>
> > Check out the skip_files configuration 
> > directive:http://code.google.com/appengine/docs/configuringanapp.html#Skipping_...
>
> > -- Dan
>
> > On Wed, Oct 22, 2008 at 7:54 PM, Mariano Benitez <[EMAIL PROTECTED]> wrote:
>
> > > I've moved my data directory inside the app "gae/trunk/data". I've
> > > marked it "ignored" for subversion, but I assume the appengine is
> > > still uploading everything.
>
> > > I think I read somewhere that there's no way to ignore some files, but
> > > I am just asking again... (maybe there's a new answer now).
>
> > > MAriano
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---



[google-appengine] Does static files count for outbound traffic?

2009-06-23 Thread Mariano Benitez

I do have some large static files, and given that appengine do not use
eTags or another form of check it is always returning the entire
files.

If the static files count as part of the outgoing traffic quota (which
I think it is reasonable), then either you implement eTag or another
method of not returning the entire file if it was not modified.

My other alternative is to implement my handlers, move all to dynamic,
and handle the 304 myself. I don't like the idea but I have no choice.

Regards,
MAriano
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Does cron jobs take more time to init than normal handlers

2009-06-23 Thread Mariano Benitez

Hello,

Now that I got cron, I moved something I used to do in a normal
handler to use a cache and refresh every 5 minutes.

What I discovered now is that what used to take 400ms in the normal
handler is now taking 800+ms in the cron handler. (I do the exact same
thing, really)

I don't know if cron handlers are being cached or since I do it not
very frequently I have to pay that price.

Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Does cron jobs take more time to init than normal handlers

2009-06-25 Thread Mariano Benitez

yes, I believe it might be more related to initializing the handlers
than another server... my cron url is handled in another py file.

I am not looking for an accurate diagnostics, just some hints that I
can avoid or consider.

Regards,


On Jun 24, 8:25 pm, djidjadji  wrote:
> It could be that the cron jobs are run on a different farm of computers.
> If you call cron every 5 min it means the server has to start cold for
> every cron request.
> If you use the regular URL from a browser or such you likely have a
> warm server running.
>
> 2009/6/24 Mariano Benitez :
>
>
>
>
>
> > Hello,
>
> > Now that I got cron, I moved something I used to do in a normal
> > handler to use a cache and refresh every 5 minutes.
>
> > What I discovered now is that what used to take 400ms in the normal
> > handler is now taking 800+ms in the cron handler. (I do the exact same
> > thing, really)
>
> > I don't know if cron handlers are being cached or since I do it not
> > very frequently I have to pay that price.
>
> > Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Does static files count for outbound traffic?

2009-06-25 Thread Mariano Benitez

Thanks Barry and Nick,

Now it comes to the trade off between spending cpu cycles and
bandwidth...

If I make my own handler for static files, I don't use bandwith but
cpu cycles, the other way it's much simpler but your bandwidth
increases...

BTW, is it TOO bad to cache the 4 images I use all the time in the
handler itself, not even in memcache... they would add up to less than
500k.

On Jun 24, 8:10 am, Barry Hunter  wrote:
> On 24/06/2009, Nick Johnson (Google)  wrote:
>
> > Hi Mariano,
>
> > Yes,staticfiles are included in your daily trafficquota. Bear in mind
> > that although App Engine does not provide last-modified or etag headers, it
> > does set Cache-Control and Expires headers, and you can control the
> > expiration time in app.yaml, so browsers should not re-requeststatic
> > content until it expires.
>
> Should not and will not are very different things in my experience :)
> Esp. when faced with users pressing F5. Pressing F5 will often result
> if a Conditional GET (if there is a etag, or last-modified in the
> original)
>
> I guess that this should be directed into the feature request to allow
> enabling of last-modified on 
> thestaticserver.http://code.google.com/p/googleappengine/issues/detail?id=575
>
>
>
>
>
>
>
> > -Nick Johnson
>
> > On Tue, Jun 23, 2009 at 11:15 PM, Mariano Benitez 
> > wrote:
>
> > > I do have some largestaticfiles, and given that appengine do not use
> > > eTags or another form of check it is always returning the entire
> > > files.
>
> > > If thestaticfiles count as part of the outgoing trafficquota(which
> > > I think it is reasonable), then either you implement eTag or another
> > > method of not returning the entire file if it was not modified.
>
> > > My other alternative is to implement my handlers, move all to dynamic,
> > > and handle the 304 myself. I don't like the idea but I have no choice.
>
> > > Regards,
> > > MAriano
>
> > --
> > Nick Johnson, App Engine Developer Programs Engineer
> > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> > 368047
>
> --
> Barry
>
> -www.nearby.org.uk-www.geograph.org.uk-
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] api method to obtain version deploy time

2009-06-28 Thread Mariano Benitez

Hello,

I want to use the version deploy time as my sitemap last modified
date. The fact is that I don't find a way to do it.
I know that the CURRENT_VERSION_ID variable holds something related...

Is there a way to obtain the deploy time from CURRENT_VERSION_ID?

Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: api method to obtain version deploy time

2009-06-29 Thread Mariano Benitez

thanks sylvain, did you got any answer from google? at least an
unsupported way of getting it? it's that or running some script in my
machine just before uploading to set the current date in a file...
have you got any workaround?

Regards,

On Jun 29, 5:13 am, Sylvain  wrote:
> star this :http://code.google.com/p/googleappengine/issues/detail?id=952
>
> On 29 juin, 03:58, Mariano Benitez  wrote:
>
>
>
> > Hello,
>
> > I want to use the version deploy time as my sitemap last modified
> > date. The fact is that I don't find a way to do it.
> > I know that the CURRENT_VERSION_ID variable holds something related...
>
> > Is there a way to obtain the deploy time from CURRENT_VERSION_ID?
>
> > Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---