nist-beacon-0.2.0.0: .cabal-sandbox/x86_64-linux-ghc-7.10.1-packages.conf.d/HTTP-4000.2.19-038fc085e9f165eed7f930fd78caca47.conf
name: HTTP
version: 4000.2.19
id: HTTP-4000.2.19-038fc085e9f165eed7f930fd78caca47
key: HTTP_ITpkUJ2LvYIFFl1lOg940a
license: BSD3
maintainer: Ganesh Sittampalam <ganesh@earth.li>
homepage: https://github.com/haskell/HTTP
synopsis: A library for client-side HTTP
description:
The HTTP package supports client-side web programming in Haskell. It lets you set up
HTTP connections, transmitting requests and processing the responses coming back, all
from within the comforts of Haskell. It's dependent on the network package to operate,
but other than that, the implementation is all written in Haskell.
.
A basic API for issuing single HTTP requests + receiving responses is provided. On top
of that, a session-level abstraction is also on offer (the @BrowserAction@ monad);
it taking care of handling the management of persistent connections, proxies,
state (cookies) and authentication credentials required to handle multi-step
interactions with a web server.
.
The representation of the bytes flowing across is extensible via the use of a type class,
letting you pick the representation of requests and responses that best fits your use.
Some pre-packaged, common instances are provided for you (@ByteString@, @String@).
.
Here's an example use:
.
>
> 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://www.haskell.org/"
> return (take 100 (rspBody rsp))
category: Network
author: Warrick Gray <warrick.gray@hotmail.com>
exposed: True
exposed-modules:
Network.BufferType Network.Stream Network.StreamDebugger
Network.StreamSocket Network.TCP Network.HTTP Network.HTTP.Headers
Network.HTTP.Base Network.HTTP.Stream Network.HTTP.Auth
Network.HTTP.Cookie Network.HTTP.Proxy Network.HTTP.HandleStream
Network.Browser
hidden-modules: Network.HTTP.Base64 Network.HTTP.MD5Aux
Network.HTTP.Utils Paths_HTTP
trusted: False
import-dirs: /home/bryan/Projects/haskell-nist-beacon/.cabal-sandbox/lib/x86_64-linux-ghc-7.10.1/HTTP_ITpkUJ2LvYIFFl1lOg940a
library-dirs: /home/bryan/Projects/haskell-nist-beacon/.cabal-sandbox/lib/x86_64-linux-ghc-7.10.1/HTTP_ITpkUJ2LvYIFFl1lOg940a
data-dir: /home/bryan/Projects/haskell-nist-beacon/.cabal-sandbox/share/x86_64-linux-ghc-7.10.1/HTTP-4000.2.19
hs-libraries: HSHTTP-4000.2.19-ITpkUJ2LvYIFFl1lOg940a
depends:
array-0.5.1.0-e29cdbe82692341ebb7ce6e2798294f9
base-4.8.0.0-1b689eb8d72c4d4cc88f445839c1f01a
bytestring-0.10.6.0-0909f8f31271f3d75749190bf2ee35db
mtl-2.2.1-9986828fc95bc8459870303efaabd81e
network-2.6.2.0-7e6886b35f2e0736eda44341fe5900e3
network-uri-2.6.0.3-f7255a104bdc9198f7925b115ab3e9b9
old-time-1.1.0.3-c6c471a5ec61ff049468f265b077486d
parsec-3.1.9-2525c937773d47f6780dc73d51d31c8a
haddock-interfaces: /home/bryan/Projects/haskell-nist-beacon/.cabal-sandbox/share/doc/x86_64-linux-ghc-7.10.1/HTTP-4000.2.19/html/HTTP.haddock
haddock-html: /home/bryan/Projects/haskell-nist-beacon/.cabal-sandbox/share/doc/x86_64-linux-ghc-7.10.1/HTTP-4000.2.19/html