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

[ bsd3, deprecated, library, web ] [ Propose Tags ]
Deprecated in favor of wreq

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
doctest

enable doctest tests

Enabled
aws

enable AWS tests

Disabled
httpbin

enable httpbin test daemon

Disabled
developer

build in developer mode

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.4.0.0
Change log changelog.md
Dependencies aeson (>=0.7.0.3), attoparsec (>=0.11.1.0), authenticate-oauth (>=1.5 && <1.6), base (>=4.5 && <5), base16-bytestring, byteable, bytestring (>=0.9), case-insensitive, containers, cryptohash, exceptions (>=0.5), ghc-prim, hashable, http-client (>=0.4.6), http-client-tls (>=0.2), http-types (>=0.8), lens (>=4.5), lens-aeson, mime-types, old-locale, psqueues (>=0.2), template-haskell, text, time, unordered-containers [details]
License BSD-3-Clause
Copyright 2014 Bryan O'Sullivan
Author Bryan O'Sullivan <bos@serpentine.com>
Maintainer bos@serpentine.com
Category Web
Home page http://www.serpentine.com/wreq
Bug tracker https://github.com/stackbuilders/wreq/issues
Source repo head: git clone https://github.com/stackbuilders/wreq
Uploaded by sestrella at 2015-04-24T21:43:53Z
Distributions
Reverse Dependencies 2 direct, 3 indirect [details]
Executables httpbin
Downloads 1048 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-04-24 [all 1 reports]

Readme for wreq-sb-0.4.0.0

[back to package description]

wreq: a Haskell web client library Build Status

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

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

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

Tutorials

See the tutorials for a quick-start.

Is it done?

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