Setting user agent in Java httpclient and allow redirects to true

Posted by RenegadeAndy on Stack Overflow See other posts from Stack Overflow or by RenegadeAndy
Published on 2010-03-28T14:29:42Z Indexed on 2010/03/28 14:33 UTC
Read the original article Hit count: 343

Filed under:
|
|
|
|

Hey guys - I am trying to set my user agent string in the HttpClient apache object in Java but I cannot find out how to do it.

Please help!

Also I am trying to enable redirects to true but also cannot find this option within the HttpClient object.

Thanks

Andy

© Stack Overflow or respective owner

Related posts about httpclient

Related posts about user