# http-types

> Generic HTTP types for Haskell, for client and server code

Source: https://talira.ai/catalog/http-types-q0xva61w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / http clients](https://talira.ai/categories/libraries/http-clients), [libraries / http servers](https://talira.ai/categories/libraries/http-servers)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Felix Paulusma](https://talira.ai/orgs/felix-paulusma.md)

http-types is a Haskell library of types and functions for HTTP concepts, shared by client and server code: methods, status codes, headers, query strings, paths and HTTP versions, with helpers to encode and decode them. It is on Hackage as http-types, maintained by Felix Paulusma, and BSD-3-Clause licensed.

## Links

- GitHub: https://github.com/Vlix/http-types

## Problems it solves

- share HTTP method and header types between my Haskell client and server
- parse and build query strings in Haskell
- use standard HTTP status codes in a Haskell web app

## Features

- HTTP methods, headers and status codes as types
- query string and path encoding
- HTTP versions

## Trust

Overall: 0.29 out of 1.
Signals: maintenance 0.47, adoption 0.10, momentum 0.01, community 0.61, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 3 commits in the last 90 days
- 2 GitHub stars
- 33 contributors
- backed by Felix Paulusma

## Alternatives

- [HTTP (Haskell)](https://talira.ai/catalog/http-haskell-fk5hdfv7.md): Client-side HTTP library for Haskell, written in Haskell on the network package
- [http-client](https://talira.ai/catalog/http-client-hraw561a.md): HTTP client engine and higher-level HTTP APIs for Haskell

## Sources

[^1]: https://github.com/Vlix/http-types/blob/master/LICENSE (checked 27 Nov 2026)
[^2]: https://github.com/Vlix/http-types/blob/master/http-types.cabal (checked 27 Nov 2026)
