Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.15 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.15 KB

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.