ghc-HTTP - A library for client-side HTTP

Property Value
Distribution openSUSE Leap 15.1
Repository openSUSE Oss all
Package filename ghc-HTTP-4000.3.12-lp151.1.2.x86_64.rpm
Package name ghc-HTTP
Package version 4000.3.12
Package release lp151.1.2
Package architecture x86_64
Package type rpm
Category Development/Libraries/Haskell
License BSD-3-Clause
Maintainer -
Download size 191.31 KB
Installed size 1.09 MB
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 "")
> -- 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
"" > return (take 100 (rspBody rsp))
__Note:__ This package does not support HTTPS connections. If you need HTTPS,
take a look at the following packages:
* < http-streams>
* < http-client> (in combination
with < http-client-tls>)
* < req>
* < wreq> .


Package Version Architecture Repository
ghc-HTTP - - -


Name Value - - - - - - - - - - - - - - - - - - - - - - - -


Name Value
ghc-HTTP = 4000.3.12-lp151.1.2
ghc-HTTP(x86-64) = 4000.3.12-lp151.1.2 -


Type URL
Binary Package ghc-HTTP-4000.3.12-lp151.1.2.x86_64.rpm
Source Package ghc-HTTP-4000.3.12-lp151.1.2.src.rpm

Install Howto

Install ghc-HTTP rpm package:

# zypper install ghc-HTTP




2018-10-19 - Peter Simons <>
- Update Cabal build instructions to support ghc-8.6.1.
2018-07-18 -
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
2018-07-13 -
- Update HTTP to version 4000.3.12.
Upstream has not updated the file "CHANGES" since the last
2018-05-14 -
- Update HTTP to version 4000.3.11.
Upstream does not provide a changelog.
2017-08-03 -
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
2017-05-22 -
- Update to version 4000.3.7 with cabal2obs.
2017-03-27 -
- Update to version 4000.3.6 with cabal2obs.
2017-01-30 -
- Update to version 4000.3.5 revision 2 with cabal2obs.
2017-01-08 -
- Update to version 4000.3.4 with cabal2obs.
2016-07-10 -
- Update to version 4000.3.3 revision 0 with cabal2obs.

See Also

Package Description
ghc-HTTP-devel-4000.3.12-lp151.1.2.x86_64.rpm Haskell HTTP library development files
ghc-HUnit- A unit testing framework for Haskell
ghc-HUnit-devel- Haskell HUnit library development files
ghc-HsYAML- Pure Haskell YAML 1.2 parser
ghc-HsYAML-devel- Haskell HsYAML library development files
ghc-JuicyPixels-3.3.3-lp151.1.2.x86_64.rpm Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)
ghc-JuicyPixels-devel-3.3.3-lp151.1.2.x86_64.rpm Haskell JuicyPixels library development files
ghc-QuickCheck- Automatic testing of Haskell programs
ghc-QuickCheck-devel- Haskell QuickCheck library development files
ghc-SDL- Binding to libSDL
ghc-SDL-devel- Haskell SDL library development files
ghc-SDL-image- Binding to libSDL_image
ghc-SDL-image-devel- Haskell SDL-image library development files
ghc-SDL-mixer- Binding to libSDL_mixer
ghc-SDL-mixer-devel- Haskell SDL-mixer library development files