HTTP: A library for client-side HTTP

[ bsd3, library, network ] [ Propose Tags ]

A package for sending and receiving HTTP requests and responses, all implemented in Haskell (assuming you've already got a network stack to spare, via the network package!) The representation of content of in requests and responses is user-controllable, letting you pick a representation that fits your code better (e.g., use ByteStrings rather than the default Haskell Strings.) Example uses:

   do
     rsp <- Network.HTTP.simpleHTTP (getRequest "http://www.haskell.org/")
             -- fetch document and return it (as a 'String'.)
     fmap (take 100) (getResponseBody rsp)

   do
     rsp <- Network.Browser.browse $ do
              setAllowRedirects True -- handle HTTP redirects
              request $ getRequest "http://google.com/"
     fmap (take 100) (getResponseBody rsp)

Git repository available at git://code.galois.com/HTTPbis.git

Flags

Automatic Flags
NameDescriptionDefault
old-base

Old, monolithic base

Disabled

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] 3000.0.0, 3001.0.0, 3001.0.1, 3001.0.2, 3001.0.3, 3001.0.4, 3001.1.3, 3001.1.4, 3001.1.5, 4000.0.0, 4000.0.1, 4000.0.2, 4000.0.3, 4000.0.4, 4000.0.5, 4000.0.6, 4000.0.7, 4000.0.8, 4000.0.9, 4000.0.10, 4000.1.0, 4000.1.1, 4000.1.2, 4000.2.0, 4000.2.1, 4000.2.2, 4000.2.3, 4000.2.4, 4000.2.5, 4000.2.6, 4000.2.7, 4000.2.8, 4000.2.9, 4000.2.10, 4000.2.11, 4000.2.12, 4000.2.13, 4000.2.14, 4000.2.15, 4000.2.16, 4000.2.16.1, 4000.2.17, 4000.2.18, 4000.2.19, 4000.2.20, 4000.2.21, 4000.2.22, 4000.2.23, 4000.3.0, 4000.3.1, 4000.3.2, 4000.3.3, 4000.3.4, 4000.3.5, 4000.3.6, 4000.3.7, 4000.3.8, 4000.3.9, 4000.3.10, 4000.3.11, 4000.3.12, 4000.3.13, 4000.3.14, 4000.3.15, 4000.3.16, 4000.4.0, 4000.4.1
Change log CHANGES
Dependencies array, base (>=2 && <4.4), bytestring, mtl, network (<2.4), old-time, parsec [details]
License BSD-3-Clause
Copyright Copyright (c) 2002, Warrick Gray Copyright (c) 2002-2005, Ian Lynagh Copyright (c) 2003-2006, Bjorn Bringert Copyright (c) 2004, Andre Furtado Copyright (c) 2004, Ganesh Sittampalam Copyright (c) 2004-2005, Dominic Steinitz Copyright 2007 Robin Bate Boerop Copyright 2008- Sigbjorn Finne
Author Warrick Gray <warrick.gray@hotmail.com>
Maintainer Sigbjorn Finne <sigbjorn.finne@gmail.com>
Revised Revision 1 made by HerbertValerioRiedel at 2014-12-30T18:48:29Z
Category Network
Home page http://projects.haskell.org/http/
Uploaded by SigbjornFinne at 2009-04-22T02:26:47Z
Distributions Arch:4000.4.1, Debian:4000.3.14, Fedora:4000.4.1, FreeBSD:4000.2.20, LTSHaskell:4000.4.1, NixOS:4000.4.1, Stackage:4000.4.1, openSUSE:4000.4.1
Reverse Dependencies 197 direct, 534 indirect [details]
Downloads 278801 total (285 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]