dev-haskell / http

A library for client-side HTTP

Official package sites : https://github.com/haskell/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 "https://google.com/" > fmap (take 100) (getResponseBody rsp) > Git repository available at <https://github.com/haskell/HTTP.git>

v4000.3.5 :: 0/4000.3.5 :: gentoo

Modified
License
BSD
Keywords
amd64 x86 ~amd64-linux ~x86-linux
USE flags
conduit10 doc hscolour network-uri profile test

v4000.2.22 :: 0/4000.2.22 :: gentoo

Modified
License
BSD
Keywords
~amd64 ~x86
USE flags
conduit10 doc hscolour network-uri profile test

v4000.2.20 :: 0/4000.2.20 :: gentoo

Modified
License
BSD
Keywords
amd64 x86
USE flags
conduit10 doc hscolour network-uri profile test

v4000.2.17 :: 0/4000.2.17 :: gentoo

Modified
License
BSD
Keywords
~alpha ~amd64 ~amd64-linux ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-macos
USE flags
doc hscolour profile test

v4000.2.8 :: 0/4000.2.8 :: gentoo

Modified
License
BSD
Keywords
alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x86-macos
USE flags
doc hscolour profile test

General

conduit10
Use version 1.0.x or below of the conduit package (for the test suite).
doc
Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
hscolour
Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
network-uri
Get Network.URI from the network-uri package.
profile
Add support for software performance analysis (will likely vary from ebuild to ebuild)
test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

dev-haskell / cabal : A framework for packaging Haskell software

dev-haskell / haddock : A documentation-generation tool for Haskell libraries

dev-haskell / hscolour : Colourise Haskell code

dev-haskell / httpd-shed : A simple web-server with an interact style API

dev-haskell / hunit : A unit testing framework for Haskell

dev-haskell / mtl : Monad classes, using functional dependencies

dev-haskell / network : Low-level networking interface

dev-haskell / network-uri : URI manipulation

dev-haskell / old-time : Time library

dev-haskell / parsec : Monadic parser combinators

dev-haskell / puremd5 : A Haskell-only implementation of the MD5 digest (hash) algorithm

dev-haskell / split : Combinator library for splitting lists

dev-haskell / test-framework : Framework for running and organising tests, with HUnit and QuickCheck support

dev-haskell / test-framework-hunit : HUnit support for the test-framework package

dev-lang / ghc : The Glasgow Haskell Compiler

dev-haskell / mtl : Monad classes, using functional dependencies

dev-haskell / network : Low-level networking interface

dev-haskell / network-uri : URI manipulation

dev-haskell / old-time : Time library

dev-haskell / parsec : Monadic parser combinators

dev-lang / ghc : The Glasgow Haskell Compiler

app-forensics / quickfuzz : An experimental grammar fuzzer in Haskell using QuickCheck

app-portage / hackport : Hackage and Portage integration tool

app-text / pandoc : Conversion between markup formats

dev-haskell / ascii-progress : A simple progress bar for the console

dev-haskell / cabal-install : The command-line interface for Cabal and Hackage

dev-haskell / citeproc-hs : A Citation Style Language implementation in Haskell

dev-haskell / haskell-platform : The Haskell Platform

dev-haskell / hs3 : Interface to Amazon's Simple Storage Service (S3)

dev-haskell / js-flot : Obtain minified flot code

dev-haskell / js-jquery : Obtain minified jQuery code

dev-haskell / pandoc-citeproc : Supports using pandoc with citeproc

dev-haskell / recaptcha : Functions for using the reCAPTCHA service in web applications

dev-haskell / warp : A fast, light-weight web server for WAI applications

dev-vcs / darcs : a distributed, interactive, smart revision control system

www-apps / gitit : Wiki using happstack, git or darcs, and pandoc

x11-misc / xmobar : A Minimalistic Text Based Status Bar

Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Inline mirror://hackage and update URIs
This change inlines mirror://hackage in all ebuilds, and updates URIs to the modern form (old URIs redirect to that). The change has been made using the following command: find -name '*.ebuild' -exec sed -r -i \ -e 's@mirror://hackage/@https://hackage.haskell.org/@g' \ -e 's@https://hackage.haskell.org/packages/archive/([^/]*)/([^/]*)/@https://hackage.haskell.org/package/\1-\2/@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{PV}@${P}@g' \ -e '/hackage\.haskell\.org/s@\$\{MY_PN}-\$\{PV}@${MY_P}@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{MY_PV}@${MY_P}@g' \ {} + Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-haskell: Remove *-fbsd KEYWORDS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-haskell/http: Sort KEYWORDS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michael Haubenwallner · gentoo
dev-haskell/http: add ~x86-linux keyword
Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michael Haubenwallner · gentoo
dev-haskell/http: add ~amd64-linux keyword
Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Sergei Trofimovich · gentoo
dev-haskell/http: stable 4000.3.5 for x86/amd64, bug #631138
Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="amd64 x86"
Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Sergei Trofimovich · gentoo
dev-haskell/http: bump up to 4000.3.5
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Sergei Trofimovich · gentoo
dev-haskell/http: drop old
Package-Manager: portage-2.2.28
Ian Delaney · gentoo
Merge remote-tracking branch 'remotes/Coacher/mpv-verbump-to-0.15.0'
Pull request: https://github.com/gentoo/gentoo/pull/675
Sergei Trofimovich · gentoo
dev-haskell/http: bump up to 4000.2.22
Package-Manager: portage-2.2.26
Sergei Trofimovich · gentoo
dev-haskell/http: drop old
Package-Manager: portage-2.2.26
Sergei Trofimovich · gentoo
dev-haskell/http: amd64, x86 stable, bug #559988
Package-Manager: portage-2.2.20
Justin Lecher · gentoo
Use https by default
Convert all URLs for sites supporting encrypted connections from http to https Signed-off-by: Justin Lecher <jlec@gentoo.org>
Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed