Thanks a lot. I tried using the code you sent , but i think it has been depreciated. I am now stuck. Any help ?
Bashiro --- On Fri 09/14, Henry Chen < [EMAIL PROTECTED] > wrote: From: Henry Chen [mailto: [EMAIL PROTECTED] To: httpclient-user@jakarta.apache.org, [EMAIL PROTECTED] Date: Fri, 14 Sep 2007 16:06:46 -0500 Subject: RE: User-Agent GetMethod authget = new GetMethod(url);authget.setRequestHeader(new Header( "User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en_US;rv:1.8.1.4)Gecko/20070515 Firefox/2.0.0.4"));-----Original Message-----From: Bashiro [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 11:25 AMTo: [EMAIL PROTECTED]: User-AgentHello guys,What is the code snip for editing the"User-Agent" header in httpClient.ThanksBashiro_______________________________________________No banners. No pop-ups. No kidding.Make My Way your home on the Web - http://www.myway.com---------------------------------------------------------------------To unsubscribe, e-mail: [EMAIL PROTECTED] additional commands, e-mail: [EMAIL PROTECTED] unsubscribe, e-mail: [EMAIL PROTECTED] additional commands, e-mail: [EMAIL PROTECTED] _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]