Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-HTTP | Distribution: openSUSE:Factory:zSystems |
Version: 4000.4.1 | Vendor: openSUSE |
Release: 3.4 | Build date: Mon Apr 15 16:01:49 2024 |
Group: Unspecified | Build host: reproducible |
Size: 2328211 | Source RPM: ghc-HTTP-4000.4.1-3.4.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://hackage.haskell.org/package/HTTP | |
Summary: A library for client-side HTTP |
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)) __Note:__ This package does not support HTTPS connections. If you need HTTPS, take a look at the following packages: * <http://hackage.haskell.org/package/http-streams http-streams> * <http://hackage.haskell.org/package/http-client http-client> (in combination with <http://hackage.haskell.org/package/http-client-tls http-client-tls>) * <http://hackage.haskell.org/package/req req> * <http://hackage.haskell.org/package/wreq wreq>.
BSD-3-Clause
* Mon Apr 15 2024 Peter Simons <[email protected]> - Update HTTP to version 4000.4.1 revision 4. Upstream has revised the Cabal build instructions on Hackage. * Sat Oct 07 2023 Peter Simons <[email protected]> - Update HTTP to version 4000.4.1 revision 3. Upstream has revised the Cabal build instructions on Hackage. * Thu Mar 30 2023 Peter Simons <[email protected]> - Updated spec file to conform with ghc-rpm-macros-2.5.2. * Thu Mar 16 2023 Peter Simons <[email protected]> - Update HTTP to version 4000.4.1 revision 2. Upstream has revised the Cabal build instructions on Hackage. * Sun Aug 14 2022 Peter Simons <[email protected]> - Update HTTP to version 4000.4.1 revision 1. Version 4000.4.0: release 2022-02-22 * Restrict to GHC >=7.6 and associated cleanups (Andreas Abel) * Drop deprecated instance Error (Andreas Abel) * Preparation for mtl-2.3 (Andreas Abel) * General tidying (Andreas Abel) * Support GHC 9.2 (Bodigrim) * Tue Oct 12 2021 [email protected] - Update HTTP to version 4000.3.16 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Mon Mar 22 2021 [email protected] - Update HTTP to version 4000.3.16. Version 4000.3.16: release 2021-03-20 * Support GHC-9.0 (Oleg Genrus) * Various dependency bumps (multiple people) * Try all addresses returned by getAddrInfo (Fraser Tweedale) Version ? * Tue Dec 22 2020 [email protected] - Update HTTP to version 4000.3.15 revision 2. Upstream has revised the Cabal build instructions on Hackage. * Thu Dec 17 2020 Ondřej Súkup <[email protected]> - disable %{ix86} build * Sun Sep 27 2020 [email protected] - Update HTTP to version 4000.3.15 revision 1. Upstream has revised the Cabal build instructions on Hackage.
/usr/lib64/ghc-9.10.1/lib/libHSHTTP-4000.4.1-8gE0Zz4cI9b5EMyaEHVZrl-ghc9.10.1.so /usr/share/licenses/ghc-HTTP /usr/share/licenses/ghc-HTTP/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 8 00:25:28 2025