wreq: An easy-to-use HTTP client library.

[ bsd3, library, web ] [ Propose Tags ]

A web client library that is designed for ease of use.

Tutorial: http://www.serpentine.com/wreq/tutorial.html

Features include:

[Skip to Readme]
Versions [RSS] [faq],,,,,,,,,,,,,,,
Change log changelog.md
Dependencies aeson (>=, attoparsec (>=, authenticate-oauth (>=1.5), base (>=4.5 && <5), base16-bytestring, byteable, bytestring (>=0.9), case-insensitive, containers, cryptohash, exceptions (>=0.5), ghc-prim, hashable, http-client (>= && <0.6), http-client-tls (>=0.3.3), http-types (>=0.8), lens (>=4.5), lens-aeson, mime-types, psqueues (>=0.2), template-haskell, text, time, time-locale-compat, unordered-containers [details]
License BSD-3-Clause
Copyright 2014 Bryan O'Sullivan
Author Bryan O'Sullivan <bos@serpentine.com>
Maintainer bos@serpentine.com
Revised Revision 1 made by HerbertValerioRiedel at 2019-01-12T08:59:50Z
Category Web
Home page http://www.serpentine.com/wreq
Bug tracker https://github.com/bos/wreq/issues
Source repo head: git clone https://github.com/bos/wreq
head: hg clone https://bitbucket.org/bos/wreq
Uploaded by ondrap at 2017-04-15T08:20:38Z
Distributions Arch:, Debian:, Fedora:, LTSHaskell:, NixOS:, Stackage:
Executables httpbin
Downloads 31291 total (244 in the last 30 days)
Rating 2.5 (votes: 6) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-04-15 [all 1 reports]



Manual Flags


enable doctest tests


enable AWS tests


enable httpbin test daemon


build in developer mode

Automatic Flags

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for wreq-

[back to package description]

wreq: a Haskell web client library Build Status

wreq is a library that makes HTTP client programming in Haskell easy.


  • Simple but powerful lens-based API

  • Over 100 tests, and built on reliable libraries like http-client and lens

  • Session handling includes connection keep-alive and pooling, and cookie persistence

  • Automatic decompression

  • Powerful multipart form and file upload handling

  • Support for JSON requests and responses, including navigation of schema-less responses

  • Basic and OAuth2 bearer authentication

  • Amazon Web Services (AWS) request signing (Version 4)

  • AWS signing supports sending requests through the Runscope Inc. Traffic Inspector


See the tutorials for a quick-start.

Is it done?

No! See TODO.md for a rather long list of ideas.