felixonmars / http-types

Generic HTTP types for Haskell (for both client and server code)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Hackage Stackage LTS Stackage Nightly BSD 3-Clause License

Generic HTTP types for Haskell (for both client and server code).

The goal of this library is to have one location for any library, package or project to base their general HTTP types on for better interoperability.

This library provides basic types for the following:

  • HTTP versions (e.g. HTTP/1.1)
  • HTTP methods (e.g. GET)
  • HTTP headers (e.g. Content-Type)
  • HTTP statusses (e.g. 404)

This library also contains some utility functions, e.g. related to URI handling, that are not necessarily restricted in use to HTTP, but the scope is restricted to things that are useful inside HTTP, i.e. no FTP URI parsing.

About

Generic HTTP types for Haskell (for both client and server code)

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 98.7%Language:Nix 1.3%