Re: [Htmlparser-user] HTTP header user-agent property
Brought to you by:
derrickoswald
From: Ian M. <ia...@ia...> - 2009-01-14 13:12:18
|
You can set the User-Agent property either at execution time (with a -d parameter) or using System.setProperty (the property name is http.agent). I think that should work, look around on the net for examples. However, if your demands are anything more complex than setting a User-Agent I'd recommend looking into the Apache HttpClient - http://hc.apache.org/httpclient-3.x/ as it's a much more fully featured library for HTTP requests. Ian 2008/12/18 abdulkadir vardar <abd...@ya...>: > Hello, > Is there a way to set user-agent property ? > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > |