ninenines/cowlib
48.9
Weak · 13 November 2026
23.6k
lines of production code
Erlang
primary language
8
measurements over time
What this system is
Features
Initial release of Cowlib 2.20.0 with HTTP/3 and structured headers support
Cowlib is introduced as a support library for manipulating Web protocols, providing parsers and builders for HTTP/1.1, HTTP/2, HTTP/3, and Websocket. This release adds initial HTTP/3 and QPACK implementation, updates the structured headers implementation to RFC 8941, and includes modules for multipart message parsing, URI templates, and mimetypes. The project is now built using erlang.mk with CI configured for OTP 27+, and the version is set to 2.20.0.
(repo-wide) · high confidence
New HTTP/3 and WebTransport support with HPACK and utility modules
This release introduces initial support for HTTP/3 and the WebTransport draft, including the QPACK header compression algorithm and WebTransport capsule parsing (cow\_capsule). It also adds a comprehensive set of new utility modules for HTTP development: cow\_cookie for parsing and building cookies (including SameSite support), cow\_date for HTTP date formatting, cow\_base64url for URL-safe Base64 encoding, cow\_deflate for safe decompression with size limits, and cow\_mimetypes for MIME type identification. The HPACK implementation (cow\_hpack) has been updated with performance optimizations and stricter validation, while existing HTTP/1.1 functionality is preserved via backward-compatible aliases in cow\_http.
src · high confidence
Behavioural changes
New HTTP parsing macros and inline utilities
The library introduces two new header files, cow\_inline.hrl and cow\_parse.hrl, which provide low-level Erlang macros for HTTP parsing. cow\_parse.hrl defines character classification macros (such as IS\_ALPHA, IS\_TOKEN, and IS\_URI\_CHAR) used to validate HTTP header values, while cow\_inline.hrl offers inline functions for case-insensitive string manipulation. These additions support the internal parsing logic for HTTP headers and URIs.
include · high confidence
Dependencies
Cowlib version bump to 2.20.0 with expanded module support
The cowlib application has been updated to version 2.20.0, introducing several new modules including cow\_base64url, cow\_http3, cow\_http3\_machine, cow\_qpack, and cow\_sse. This update also adds support for HTTP/3 and QPACK implementations, as well as Server-Sent Events (SSE) parsing, enhancing the library's capabilities for modern web protocols.
ebin · high confidence
Housekeeping
Documentation for cow\_cookie module and functions
Added comprehensive manual pages for the cow\_cookie module, including the main cow\_cookie(3) overview and specific documentation for functions like parse\_cookie, parse\_set\_cookie, cookie, and setcookie. The documentation details the cookie\_attrs and cookie\_opts types, explains options such as same\_site and max\_cookies, and notes behavioral changes like the removal of the Version attribute in setcookie since version 2.12.
doc · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 51 → 49 (-1.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 62 → 62 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 41 → 42 (+1.2)
- Readiness 43 → 43 (+0.0)
- Security 100 → 100 (+0.0)
- Event Sourcing 72 → 52 (-20.7)
Resolved (10)
- Documentation: no installation or build instructions (README.asciidoc)
- Documentation: no project overview (README.asciidoc)
- Documentation: no usage examples (README.asciidoc)
- Duplicated block (10 lines × 2) (src/cow_qs.erl)
- Duplicated block (7 lines × 4) (src/cow_qs.erl)
- Hotspot: src/cow_http_hd.erl (src/cow_http_hd.erl)
- Hotspot: src/cow_http_struct_hd.erl (src/cow_http_struct_hd.erl)
- Hotspot: src/cow_ws.erl (src/cow_ws.erl)
- Near-duplicate member pair (28 shared lines) (src/cow_qs.erl)
- No tests found
New (41)
- Duplicated block (7 lines × 4) (src/cow_qs.erl)
- Edited copies of one member (3 members, 10+ corresponding lines) (src/cow_hpack.erl)
- Edited copies of one member (3 members, 13+ corresponding lines) (src/cow_http_hd.erl)
- Edited copies of one member (3 members, 2+ corresponding lines) (src/cow_http_hd.erl)
- Edited copies of one member (3 members, 24+ corresponding lines) (src/cow_date.erl)
- Edited copies of one member (4 members, 3+ corresponding lines) (src/cow_http_hd.erl)
- Edited copies of one member (5 members, 11+ corresponding lines) (src/cow_ws.erl)
- Edited copies of one member (5 members, 2+ corresponding lines) (src/cow_http_hd.erl)
- Edited copies of one member (5 members, 20+ corresponding lines) (src/cow_http_hd.erl)
- Edited copies of one member (6 members, 3+ corresponding lines) (src/cow_http_hd.erl)
- Edited copy of a member (11 corresponding lines) (src/cow_http2_machine.erl)
- Edited copy of a member (13 corresponding lines) (src/cow_http2_machine.erl)
- Edited copy of a member (14 corresponding lines) (src/cow_http2_machine.erl)
- Edited copy of a member (17 corresponding lines) (src/cow_hpack.erl)
- Edited copy of a member (24 corresponding lines) (src/cow_qpack.erl)
- Edited copy of a member (3 corresponding lines) (src/cow_hpack.erl)
- Edited copy of a member (3 corresponding lines) (src/cow_http_hd.erl)
- Edited copy of a member (3 corresponding lines) (src/cow_http_hd.erl)
- Edited copy of a member (3 corresponding lines) (src/cow_http_hd.erl)
- Edited copy of a member (3 corresponding lines) (src/cow_http_hd.erl)
- …and 21 more
Changes since last survey
- 12 commits — 10 feature/other, 2 fixes
By area
- src/cow_http2.erl — 4 commits
- src/cow_http2_machine.erl — 4 commits
- (root) — 3 commits
- src/cow_http_te.erl — 1 commit
Notable commits
- fix: Fix HTTP/2 header table size types
- fix: Fix HTTP/2 max_concurrent_streams type
- change: Configure the number of lingering HTTP/2 streams
- change: Count HTTP/2 DATA padding in the flow-control window
- change: Cowlib 2.22.0
- change: Enforce HTTP/2 SETTINGS_MAX_HEADER_LIST_SIZE
- change: Fix grammar errors in documentation
- change: Keep HTTP/2 lingering streams in generational maps
- change: Linger rejected HTTP/2 streams and report window updates
- change: Reject a chunk-size that does not start with a hex digit
- change: Return more for an incomplete GOAWAY frame
- change: Update Erlang.mk
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
ninenines/cowlib was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 49bd2119759686d87acd5c4b6359b9ffd0c08835 — the exact code this score is about.
- Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-b8b1a43ae4c3.