Hello Lalit,
the effective version is updated when the response is received.
So even if you are sending with HTTP/1.0, if the server responds
with HTTP/1.1, method.getEffectiveVersion() returns 1.1. You
should enable the wire log for the header and look at the
status lines ("GET /some/path HTTP/1.?") and response lines
("HTTP/1.? 200 OK") to see which versions are actually used
by HttpClient and the server, respectively.
http://jakarta.apache.org/commons/httpclient/logging.html
On a side note: don't create a new HttpVersion object.
Just use the constant HttpVersion.HTTP_1.0.
cheers,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]