@hackage / http-types

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

Latest0.12.6

About

Metadata

  • Last updated , by nideco
  • License BSD-3-Clause
  • Categories Network Development, Web Development
  • Maintained by: felix.paulusma@gmail.com

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 9.10.3
  2. 9.8.4
  3. 9.6.7
  4. 7.10.3

Readme

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.