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:

  • Simple but powerful lens-based API

  • A solid test suite, and built on reliable libraries like http-client and lens

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

  • Automatic response body 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

  • Early TLS support via the tls package


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
doctestEnabled
httpbinDisabled

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

Downloads

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.4.1.0, 0.5.0.0, 0.5.0.1, 0.5.1.0, 0.5.2.0, 0.5.2.1, 0.5.3.0, 0.5.3.1, 0.5.3.2, 0.5.3.3, 0.5.4.0, 0.5.4.1, 0.5.4.2, 0.5.4.3 (info)
Change log changelog
Dependencies aeson (>=0.7.0.3), attoparsec (>=0.11.1.0), base (>=4.5 && <5), bytestring (>=0.9), exceptions (>=0.5), http-client (>=0.3.1.1 && <0.5), http-client-tls (>=0.2), http-types (>=0.8), lens (>=4.4 && <4.5), lens-aeson, mime-types, template-haskell, text, time [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 phadej at 2016-07-05T20:44:17Z
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 BryanOSullivan at 2014-08-26T06:39:44Z
Distributions Arch:0.5.4.3, Debian:0.5.3.2, Fedora:0.5.4.0, LTSHaskell:0.5.4.3, NixOS:0.5.4.3, Stackage:0.5.4.3
Reverse Dependencies 133 direct, 36 indirect [details]
Executables httpbin
Downloads 35267 total (171 in the last 30 days)
Rating 2.5 (votes: 6) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]

Readme for wreq-0.2.0.0

[back to package description]

wreq: a Haskell web client library

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

Features

  • 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

Is it done?

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