lhttpc is a lightweight HTTP/1.1 client implemented in Erlang.
Erlang Shell Makefile
Latest commit 6530ef8 Sep 28, 2015 @elbrujohalcon elbrujohalcon Merge pull request #43 from waisbrot/erlang-17
fixes to compile under Erlang 17.0-rc2
Failed to load latest commit information.
doc fixes to compile under Erlang 17.0-rc2 Mar 16, 2014
include Move internal state records to their original modules. Jan 17, 2013
test fixes to compile under Erlang 17.0-rc2 Mar 16, 2014
util fixes to compile under Erlang 17.0-rc2 Mar 16, 2014
.gitignore Modify Makefile to support build-plt and dialyze. Jan 14, 2013
CHANGELOG Update CHANGELOG with latest changes Apr 4, 2012
Makefile Change dialyze and rel to dialyzer and release in Makefile. Jan 14, 2013
README.md Update README Oct 7, 2014
TODO Add some good TODOs :) Aug 23, 2010
rebar Update rebar binary to a recent version. Jan 14, 2013



This project is not supported anymore. It's still here just to support legacy projects that may have it as a dependency. It's operational (at least, for Erlang versions lower than R17) If you're looking for a HTTP client, we would recommend you to switch to shotgun or fusco


  • Erlang/OTP R13-B or newer
    • Application compiler to build, kernel, stdlib and ssl to run

Building: For versions > 1.2.5, lhttpc is built using rebar. Take a look at http://bitbucket.org/basho/rebar/wiki/Home for more information. There is still a Makefile with some of the old make targets, such as all, doc, test etc. for those who prefer that. The makefile will however just call rebar.

Configuration: (environment variables)

  • connection_timeout: The time (in milliseconds) the client will try to kepp a HTTP/1.1 connection open. Changing this value in runtime has no effect, this can however be done through lhttpc_manager:update_connection_timeout/1.