ok, i know that version should be in HttpClient Request, but i need
create new User-Agent header with my program version and httpclient
version eg.
User-Agent: MySuperProgram/1.0 HttpClient/2.0beta3
Its possible to add public static field in file like HttpClient.java and
use to create UserAgent?
Hi Sylwester
'User-Agent' header should include version information in case you are
using a release. If you are using a CVS snapshot, there's usually no
reliable way of telling. Simply stay current
Oleg
On Thu, 2003-03-13 at 10:33, Sylwester Lachiewicz wrote:
> Hi,
> Simple question - how i can g
Hi,
Simple question - how i can get HttpClient version?
Sylwester
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Mike,
Of course, the users should be able to do silly things if they insist.
But do not think we should actively participate. I find current
HttpClieet's behavior correct. At the same time, I could live with a
patch
Oleg
On Wed, 2003-03-12 at 20:48, Michael Becke wrote:
> > This makes sense from
This makes sense from an internal point of view, but from a user's
perspective it's kind of weird: You call removeRequestHeader and it
doesn't get removed. I was wondering if we should modify HttpMethodBase
so that it adds the default User-Agent header in the constructor and in
recycle() inste
Michael Becke wrote:
If the User-Agent header is null the default value is used (take a
look at HttpMethodBase.addUserAgentRequestHeaderfrom the system
property "httpclient.useragent" and defaults to "Jakarta
Commons-HttpClient/2.0alpha3". To change this value you should either
set the "httpc