Skip to content


Subversion checkout URL

You can clone with
Download ZIP
HTTP library for C
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
parser @ fb23d15 Update HTTP parser.
.gitmodules Add http-parser -> parser
LICENSE-MIT Update README and license under MIT.
Makefile Be ANSI C friendly. Update README with planning notes.
http.h Be ANSI C friendly.
message.c Add message module.


A HTTP client/server library for C!

Goals of the project

  • Be as lightweight as possible.
  • Focus on HTTP and not become a swissarmy knife of protocols.
  • Provide a low-level API to the HTTP protocol. Minimize magic & sugar.
  • Low number of dependencies. Only use stuff your system already has installed (ex: OpenSSL).
  • Be friendly to proxies.
  • Support enterprise deployments (ex: SPNEGO, Kerberos, NTLM)
  • Embeds into event loops for asynchronous networking (ex: libev)


Check out the wiki and the series of planning notes. The first phase is to dig into the HTTP protocol and learn it well before we start pushing code. Feel free to contribute if you are a HTTP guru or just open up RFC 2616 and start reading! :)

Something went wrong with that request. Please try again.