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

Version on this page:0.8.6
LTS Haskell 12.24:0.12.2
Stackage Nightly 2018-12-18:0.12.2
Latest on Hackage:0.12.2

See all snapshots http-types appears in

BSD3 licensed by Aristid Breitkreuz, Michael Snoyman
Generic HTTP types for Haskell (for both client and server code).

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.


* 0.12.2 [2018-09-26]

Add new parseQueryReplacePlus function, which allows specifying whether to replace '+' with ' '.

Add header name constants for "Prefer" and "Preference-Applied" (RFC 7240).

* 0.12.1 [2018-01-31]

Add new functions for constructing a query URI where not all parts are escaped.

* 0.12 [2018-01-28]

URI encoding is now back to upper-case hexadecimal, as that is the preferred canonicalization, and the previous change caused issues with URI
signing in at least amazonka.

* 0.11 [2017-11-29]

Remove dependency on blaze-builder. (Note that as a side effect of this, URI encoding is now using lower-case rather than uppercase hexadecimal.)

Add Bounded instance to Status.

Re-export more status codes and http20 from Network.HTTP.Types.

* 0.10 [2017-10-22]

New status codes, new headers.

Fixed typo in imATeapot, added missing toEnum.

Oh, and http20.

* 0.9.1 [2016-06-04]

New function: parseByteRanges.
Support for HTTP status 422 "Unprocessable Entity" (RFC 4918).

* 0.9 [2015-10-09]

No changelog was maintained up to version 0.9.
comments powered byDisqus