atom feed7 messages in org.apache.hc.httpclient-usersRE: User-Agent
FromSent OnAttachments
BashiroSep 14, 2007 9:24 am 
Henry ChenSep 14, 2007 2:06 pm 
BashiroSep 15, 2007 7:54 am 
Roland WeberSep 16, 2007 12:57 am 
Madhur Kumar TanwaniSep 16, 2007 10:38 pm 
BashiroSep 17, 2007 3:09 am 
BashiroSep 17, 2007 3:12 am 
Subject:RE: User-Agent
From:Bashiro (bash@myway.com)
Date:Sep 15, 2007 7:54:10 am
List:org.apache.hc.httpclient-users

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 < henr@gmail.com > wrote: From: Henry Chen [mailto: henr@gmail.com] To: http@jakarta.apache.org, bash@myway.com 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:bash@myway.com] Sent: Friday, September 14,
2007 11:25 AMTo: httpclient-user@jakarta.apache.orgSubject: 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: httpclient-user-unsubscribe@jakarta.apache.orgFor
additional commands, e-mail:
http@jakarta.apache.org---------------------------------------------------------------------To
unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.orgFor
additional commands, e-mail: http@jakarta.apache.org

_______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com