Looking at firebug, gmail sends GET requests to get something like:
while (true); &&&START&&&{"Success":true,"Body":{"Contacts":"[[,[,,\"83473f5sc6b17e0\",,[[,1,\"1\"]\n]\n[,,,[,,[,[,,,,,,,,,,,[[,1]\n
...
} &&&END&&&
- What are these arrays? Are these some sort of RPC?
- How are they consumed by the client code? More specifically, how would closure library use them?
- What is the advantage of this approach over plain json and REST?