Commit graph

13 commits

Author SHA1 Message Date
pho
ec9d97e0c3 Remove dependency on devel/hs-mtl and devel/hs-parsec
They are now part of GHC.
2020-01-11 10:25:05 +00:00
pho
5210dd4c72 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.
2020-01-02 15:50:01 +00:00
szptvlfn
c6604daa03 Bump PKGREVISION for hs-text-1.2.2.0 || hs-hashable-1.2.3.3 2016-01-10 11:49:09 +00:00
szptvlfn
4b41cd6f8b Bump PKGREVISION for hs-text-1.2.1.3 2015-08-02 11:27:04 +00:00
szptvlfn
cd56acd4fc Bump PKGREVISION for hs-parsec-3.1.9 2015-06-09 22:09:41 +00:00
szptvlfn
b1f3667397 Bump PKGREVISION for hs-text-1.2.1.1 2015-06-04 20:08:59 +00:00
szptvlfn
90df55f96c Bump PKGREVISION for hs-text-1.2.0.3 2014-12-12 22:55:24 +00:00
szptvlfn
f5a756a2ee Bump PKGREVISION for hs-text-1.2.0.2 || hs-hashable-1.2.3.0 2014-12-12 22:04:21 +00:00
szptvlfn
01e6374124 Bump PKGREVISION for hs-transformers-0.4.2.0 2014-11-23 12:52:31 +00:00
szptvlfn
cedc0dff67 Bump PKGREVISION for hs-parsec-3.1.7 2014-10-19 21:27:08 +00:00
szptvlfn
75be48599d Bump PKGREVISION for hs-text-1.2.0.0 2014-09-13 22:23:27 +00:00
szptvlfn
9da944d0cd make it clear what package depend on
discussed with wiz@.
2014-08-29 14:08:38 +00:00
szptvlfn
df90fa887e Import HTTP-4000.2.17 as www/hs-HTTP,
packaged for wip by 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).
2014-07-24 21:18:24 +00:00