> > 3. is there any way to set the User-Agent string for an httpclient? > Nope, but this has come up before. If there isn't > one already, add an enhancement request to the > Bugzilla database so we don't forget.
Actually, there is a way on a method-per-method basis. Simply call
method.setRequestHeader("User-Agent","my agent string");
before calling execute. The BaseMethod impl will see the existing header,
and not try to create a new one.
