Hi Jim. As noted in
http://code.google.com/appengine/docs/python/runtime.html#Requests_and_CGI,
App Engine does not currently support sending data to the user's browser
before exiting the handler. Your best bet is to use a JavaScript/AJAX
solution like the one djidjadji suggested.

- Jason

On Wed, May 6, 2009 at 1:53 PM, Jim <[email protected]> wrote:

>
> I have a function that goes and looks up some data.   I'd like to say
> something to the user after they click submit but before I have any
> results.
>
> I've tried HttpResponse with response.write as well as
> self.response.out.write
>
> The problem with both of them is that they wait until the function is
> done before they output anything.   Saying "I'm starting the lookup"
> doesn't work so well when they see it after the fact ...
>
> I've done about 90 minutes of Googling and looking at the Django docs
> and am coming up empty.
>
> 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 [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