N
Nuno Magalhaes
I'm doing a "low level" project that consists on monitoring certain QoS
parameters such as: Time to resolve dns, time to connect, time to
receive data, time to receive all web page, time to close connection,
between others...
Since that I cannot use any higher level procedures such as WebClient,
HTTPWebRequest and Response.
The problem is that I'm not getting the "Content-Length" parameter in
the HTTP response header. Do you know if passing to server "GET /
HTTP/1.1\n\n" is enough to receive the "Content-Length" parameter,
because I'm not receiving it.
Any hints on this matter,
Any expert on HTTP headers and servers?
Thanks for any reply,
Nuno Magalhaes.
P.S.: One person told me here that using "HEAD / HTTP/1.1\r\n" would
give me the content-length of the html page. Is that true?
parameters such as: Time to resolve dns, time to connect, time to
receive data, time to receive all web page, time to close connection,
between others...
Since that I cannot use any higher level procedures such as WebClient,
HTTPWebRequest and Response.
The problem is that I'm not getting the "Content-Length" parameter in
the HTTP response header. Do you know if passing to server "GET /
HTTP/1.1\n\n" is enough to receive the "Content-Length" parameter,
because I'm not receiving it.
Any hints on this matter,
Any expert on HTTP headers and servers?
Thanks for any reply,
Nuno Magalhaes.
P.S.: One person told me here that using "HEAD / HTTP/1.1\r\n" would
give me the content-length of the html page. Is that true?