Luiz,
> I need to see if "Connection" value is really "keep-alive".
> How can i do this?
That XMLHTTP object does not seem to expose a "getRequestHeader", so you
can't ask for a preview.
That leaves sending the request to a (small, perhaps local) webserver you
control, or to a server which will kindly return your request headers as a
HTML page. :-)
Like this one:
http://scooterlabs.com/echo
... which google came back with when I threw a quick "HTTP echo" at it. :-)
Regards,
Rudy Wieser