It is weird. It turned normal after I added the "login: admin"
restriction.

On Sep 1, 12:00 am, an0 <[email protected]> wrote:
> 0.1.0.2 - - [31/Aug/2009:08:35:31 -0700] "POST /clear_pending HTTP/
> 1.1" 302 0 "https://xxx.appspot.com/register"; "AppEngine-Google;
> (+http://code.google.com/appengine)"
>
> I add the Task in my register handler:
>   taskqueue.add(url = '/clear_pending',
>                            params = { ... },
>                            countdown = 600)
>
> Here is my URL <-> handler mapping:
> application = webapp.WSGIApplication([
>                                        ('/register', RegisterHandler),
>                                        ('/clear_pending',
> ClearPendingHandler),
>                                       ],
>                                      debug=True)
>
> Here is the ClearPendingHandler:
> class ClearPendingHandler(webapp.RequestHandler):
>
>   def post(self):
>     logging.debug("clear pending")
>     clear_pending()
>
> But it seems my ClearPendingHandler.post is never called.
>
> What's wrong with my app?
--~--~---------~--~----~------------~-------~--~----~
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