views:

152

answers:

1

I ask this question for the comment of this answer:

http://serverfault.com/questions/104648/is-this-http-servers-issue/104679#104679

EDIT

I missed an important point,should also keep the connection not closed.

You guys can smell I'm trying to figure out how long polling actually works.

+1  A: 

200 OK happens as long as nothing goes wrong. So you should always get that status as long as the HTTP request succeeds. No need to do anything special.

echo
True, this includes completing the process or flush something to the browser before the request time-out.
o.k.w
@o.k.w: +1 **completing the process** should be bolded.
Alix Axel