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 AM
To: httpclient-user@jakarta.apache.org
Subject: User-Agent



Hello guys,
What is the code snip for editing the
"User-Agent" header in httpClient.

Thanks
Bashiro


_______________________________________________
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to