Fixes issue 4. Also properly deprecate libUA. Also export the version of the HTTP package so that client packages can include it in their user agent string, e.g. "cabal-install/0.10.2 (HTTP 4000.1.2)". Also added documentation.
It should be using hex encoding, not raw bytes.
That is, do not treat it as a redirect, just return the response. This code is returned by servers in response to conditional GET/PUT requests. Such conditional requests are essential for proper client-side caching.
…, MonadIO and MonadState added. This deprecates ioAction and getBrowserState in favor of liftIO and get. It also removes some internal functions that were reimplementations of functions from Control.Monad.State. Additionally, all instances are generated with GeneralizedNewtypeDeriving.
…stent with what browsers do and the standard online examples
This can happen when e.g. there is no internet connection, leading to 'resource exhausted' errors.
…ld on GHC HEAD (7.1.20110123)
as per RFC 2616 section 19.3. Patch by Chris Pettit <email@example.com>.
… not convert to GET.
to EOF. Based on a patch by Daniel Wagner <firstname.lastname@example.org> and discussion at http://hackage.haskell.org/trac/ghc/ticket/4251 Bump the minor version as this is an API change for implementors of HStream (though a scan of hackage suggests noone is actually doing that).
to work around a change in behaviour in GHC 7.0
…s (i.e., to https.) - Network.Browser: support setting default UA string. - Stream debugger - if reusing a debug connection to same domain, reuse the stream debugger handle. Avoids (some) cases where debug log files were locked by existing connections, and failing.
…ded. - For connections that are to be closed upon receipt of response, mark the connection as being closed-on-EOF, delaying the actual closing until the response has been received in its entirety.
…ur; use it to shut down connection when Connection:close is used in request
…tative, may not be lazy enough
…simply broken as was (at least since Sockets introduced the ConnectedToHandle state)
…en, invent one