Mirror of Apache HttpClient

Clone this repo:
  1. aff1d20 Better exception asserts in unit tests by Oleg Kalnichevski · 6 days ago master
  2. 760795b HTTPCLIENT-1244: Replaced EasyMock with Mockito in the HTTP cache unit tests by Oleg Kalnichevski · 13 days ago
  3. d77112f Replace assert calls by simpler but equivalent calls. by Arturo Bernal · 12 days ago
  4. fde3fca Simplify conditions and avoid extra checks. Inline return variables. by Arturo Bernal · 12 days ago
  5. 0805cfe Updated test cases with exception asserts by Oleg Kalnichevski · 5 weeks ago

Apache HttpComponents Client

Welcome to the HttpClient component of the Apache HttpComponents project.

Build Status Maven Central License

Building Instructions

For building from source instructions please refer to BUILDING.txt.


HttpClient main module requires Java 7 compatible runtime and depends on the following external libraries:

Other dependencies are optional.

(for detailed information on external dependencies please see pom.xml)


Apache HttpComponents Client is licensed under the Apache License 2.0. See the files LICENSE.txt and NOTICE.txt for more information.


Cryptographic Software Notice

This distribution may include software that has been designed for use with cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See https://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

The following provides more details on the included software that may be subject to export controls on cryptographic software:

Apache HttpComponents Client interfaces with the Java Secure Socket Extension (JSSE) API to provide

  • HTTPS support

Apache HttpComponents Client does not include any implementation of JSSE.