Hello,
  And another thing I want to be able to do is figure out the HTTP
return code for that internal URL. Since everything in already a web
hook, I might as well model my app. in a similar fashion. I was
wondering if the appengine guys could work out a hack for urllib where
calls to internal URLs don't cost you an extra request. That way, I
would generously use it for (synchronous) pubsub or some sort of
internal communication which may be externalized later.

Regards,
-Dhruv.



On Mar 22, 6:30 am, Eli Jones <[email protected]> wrote:
> Depends on how you want the code to work..
>
> If you just want to send of work to get processed by those other handlers,
> then firing off a Task (either with Task Queue or Deferred Task) would be
> perfect for that.
>
> http://code.google.com/appengine/docs/python/taskqueue/overview.htmlhttp://code.google.com/appengine/articles/deferred.html
>
> On Sun, Mar 21, 2010 at 1:32 PM, dhruvbird <[email protected]> wrote:
> > Hello,
> >  I would like to call a URL of my own application. How can I go about
> > doing that w/o using URL fetch? One option would be to manually
> > construct a request object and call the function depending upon the
> > URL mapping table. However, is there a way to do this w/o that mess
> > and w/o using URL fetch (which will cost me a request)?
>
> > for eg: If I have these URLs:
> > /mail/send/
> > /chat/send/
> > /home/
>
> > If I want to call them from within the handler of /home/, how can I do
> > that?
>
> > Regards,
> > -Dhruv.
>
> > --
> > 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]<google-appengine%[email protected]>
> > .
> > 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 [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