On Thu, 2006-04-06 at 05:24 -0400, Alex wrote: > Hello, > > > > I am trying to connect to a URL which gives me message (its source) "Your > browser does not satisfy software requirements. Please contact Customer > Support or use more widespread versions of browsers, such as Internet > Explorer or Opera." > > > > How can I set User-Agent or something so that site thinks I am using > Internet Explorer or something. Is there a way to do it? >
HttpClient httpclient = new HttpClient(); httpclient.getParams().setParameter( HttpClientParams.USER_AGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"); HTH Oleg > > > Thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
