Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
HTTP library for C
branch: master
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.
README.md
http.h Be ANSI C friendly.
message.c Add message module.
session.c Be ANSI C friendly.

README.md

libhttp

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)

Planning

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.