I wander how do client side get response if the connection of request is not finished yet?
What's the principle?
In fact I've read quite a few posts on this subject:
http://stackoverflow.com/questions/333664/simple-long-polling-example-code
http://stackoverflow.com/questions/932415/how-does-the-live-real-time-typing-work-in-google-wave
But none of them solve my doubt