./www/hs-HTTP, Haskell library for client-side HTTP

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4000.3.14, Package name: hs-HTTP-4000.3.14, Maintainer: pho

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).


Required to run:
[net/hs-network] [net/hs-network-uri] [lang/ghc88]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: fcbb34764253b2c7460524b1b96a957cca068158
RMD160: 47e5b6764296c27013775d273e65a30959d1b947
Filesize: 71.229 KB

Version history: (Expand)


CVS history: (Expand)


   2020-05-11 19:52:21 by Roland Illig | Files touched by this commit (190) | Package updated
Log message:
hs-*: add PLIST files

These PLIST files have been autogenerated by mk/haskell.mk using
HS_UPDATE_PLIST=yes during a bulk build.  They will help to track changes
to the packages.  The Haskell packages didn't have PLIST files because
their paths contained package hashes.  These hashes are now determined by
mk/haskell.mk, which makes it easy to generate easy to read PLIST files.
   2020-01-11 11:25:05 by Masatake Daimon | Files touched by this commit (2)
Log message:
Remove dependency on devel/hs-mtl and devel/hs-parsec

They are now part of GHC.
   2020-01-02 16:50:01 by Masatake Daimon | Files touched by this commit (4) | Package updated
Log message:
Update to HTTP-4000.3.14

* If the URI contains "user:pass@" part, use it for Basic Authorization
* Add a test harness.
* Don't leak a socket when getHostAddr throws an exception.
* Send cookies in request format, not response format.
* Moved BrowserAction to be a StateT IO, with instances for
  Applicative, MonadIO, MonadState.
* Add method to control size of connection pool.
* Consider both host and port when reusing connections.
* Handle response code 304 "not modified" properly.
* Fix digest authentication by fixing md5 output string rep.
* Make the default user agent string follow the package version.
* Document lack of HTTPS support and fail when clients try
  to use it instead of silently falling back to HTTP.
* Add helper to set the request type and body.
   2016-01-10 12:49:11 by Ryosuke Moro | Files touched by this commit (48) | Package updated
Log message:
Bump PKGREVISION for hs-text-1.2.2.0 || hs-hashable-1.2.3.3
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-08-02 13:27:06 by Ryosuke Moro | Files touched by this commit (44) | Package updated
Log message:
Bump PKGREVISION for hs-text-1.2.1.3
   2015-06-10 00:09:42 by Ryosuke Moro | Files touched by this commit (7) | Package updated
Log message:
Bump PKGREVISION for hs-parsec-3.1.9
   2015-06-04 22:09:00 by Ryosuke Moro | Files touched by this commit (50) | Package updated
Log message:
Bump PKGREVISION for hs-text-1.2.1.1