# Cowlib

> Erlang library for parsing and building Web protocol messages

Source: https://talira.ai/catalog/cowlib-jd3br52k
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / http types](https://talira.ai/categories/libraries/http-types), [languages / erlang](https://talira.ai/categories/languages/erlang)
- Licence: ISC[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Loïc Hoguin](https://talira.ai/orgs/loic-hoguin.md)

Cowlib is an Erlang support library for parsing and building messages for Web protocols, including HTTP/1.1, HTTP/2 and Websocket, with modules for parts such as cookies. It aims for completeness over speed: every value is parsed and returned, none ignored. Loïc Hoguin maintains it alongside the [Cowboy](https://talira.ai/catalog/cowboy-edtr4jzc.md) web server and the Gun HTTP client, whose manuals it lists under see also.

## Links

- GitHub: https://github.com/ninenines/cowlib
- Docs: https://ninenines.eu/docs/en/cowlib/2.22/manual/

## Problems it solves

- parse HTTP headers in Erlang
- build Websocket frames from an Erlang program
- handle HTTP/2 frames in Elixir or Erlang without writing a parser

## Features

- parses and builds HTTP/1.1, HTTP/2 and Websocket messages
- returns every value, none ignored
- function reference as man pages and a user guide in PDF and HTML

## Limitations

- It's optimised for completeness rather than speed.[^1]

## Trust

Overall: 0.54 out of 1.
Signals: maintenance 0.93, adoption 0.50, momentum 0.14, community 0.62, backing 0.30, extensibility 0.00.

- last commit 2 days ago
- 49 commits in the last 90 days
- 298 GitHub stars
- 34 contributors
- accepts sponsorship (Github, Custom)
- backed by Loïc Hoguin

## Sources

[^1]: https://github.com/ninenines/cowlib/blob/master/README.asciidoc (checked 28 Nov 2026)
[^2]: https://github.com/ninenines/cowlib/blob/master/LICENSE (checked 28 Nov 2026)
