HttpUnit is meant for
testing purpose.
Automates website testing, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test ... HttpClient is meant for building application that interact with other application using Http protocol.
the HttpClient component may be of interest to anyone building HTTP-aware client applications such as web browsers, web service clients, or systems that leverage or extend the HTTP protocol for distributed communication. You should use HttpClient for yout requirment.
[ October 11, 2006: Message edited by: Chetan Parekh ]