Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 5, 2011
Commits on Oct 11, 2011
  1. @dcoutts @hsenag

    Make the default user agent string follow the package version

    dcoutts authored hsenag committed
    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.
Commits on Oct 9, 2011
  1. @hsenag

    Merge pull request #15 from hesselink/feature/support-mtl1

    hsenag authored
    Use CPP to define a separate Applicative instance if using mtl 1.
  2. @dcoutts @hsenag

    Fix digest authentication by fixing md5 output string rep

    dcoutts authored hsenag committed
    It should be using hex encoding, not raw bytes.
Commits on Oct 7, 2011
  1. @dcoutts @hsenag

    Handle response code 304 "not modified" properly

    dcoutts authored hsenag committed
    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.
Commits on Oct 6, 2011
  1. @hesselink
  2. @hsenag
  3. @hsenag
Commits on Sep 11, 2011
  1. @hesselink

    Moved BrowserAction to be a StateT IO, with instances for Applicative…

    hesselink authored hesselink committed
    …, 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.
Commits on Aug 24, 2011
  1. @hsenag
Commits on Aug 22, 2011
  1. @hsenag

    use "; " space rather than ";" between cookies as it seems more consi…

    hsenag authored
    with what browsers do and the standard online examples
  2. @hsenag
Commits on Aug 21, 2011
  1. @hsenag
Commits on Aug 14, 2011
  1. @hesselink
  2. @hesselink

    Don't leak a socket when getHostAddr throws an exception.

    hesselink authored
    This can happen when e.g. there is no internet connection, leading to
    'resource exhausted' errors.
  3. @hesselink
  4. @hesselink
  5. @hesselink
Commits on Aug 7, 2011
  1. @bmillwood

    Turn off buffering for the debug log

    bmillwood authored
    Currently, when the program crashes it may discard the debug log buffer.
    Since you're probably debugging because the program is crashing, this
    isn't very helpful.
Commits on Feb 27, 2011
  1. @copumpkin

    Fixed indentation slightly and added FlexibleInstances to make it bui…

    copumpkin authored
    …ld on GHC HEAD (7.1.20110123)
Commits on Nov 28, 2010
  1. @hsenag

    Be tolerant of line termination using LF rather than CRLF,

    hsenag authored
    as per RFC 2616 section 19.3.
    Patch by Chris Pettit <>.
Commits on Nov 7, 2010
  1. @aslatter @hsenag

    fix logging message

    aslatter authored hsenag committed
  2. @aslatter @hsenag

    In Netowrk.Browser, redirects from an HTTP 301 or 307 response should…

    aslatter authored hsenag committed
    … not convert to GET.
  3. @hsenag

    Don't try to munch the remainder of the stream when closing due

    hsenag authored
    to EOF.
    Based on a patch by Daniel Wagner <> and
    discussion at
    Bump the minor version as this is an API change for implementors of
    HStream (though a scan of hackage suggests noone is actually doing
Commits on Oct 24, 2010
  1. @hsenag

    Change calls to fail in the Either monad to something explicit

    hsenag authored
    to work around a change in behaviour in GHC 7.0
Commits on Dec 20, 2009
  1. @sof
Commits on Dec 12, 2009
  1. @sof

    - Network.Browser: disallow redirects to unsupported protocols/scheme…

    sof authored
    …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.
Commits on Dec 4, 2009
  1. @sof

    - Undo experiment w/ support for selective shutdown on close; not nee…

    sof authored
    - 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.
Commits on Nov 16, 2009
  1. WIP - allow close to take extra argument controlling shutdown behavio…

    sof authored
    …ur; use it to shut down connection when Connection:close is used in request
Commits on Nov 14, 2009
  1. for Connection:close exchanges, delay closing until we reach EOF..ten…

    sof authored
    …tative, may not be lazy enough
  2. comment fix

    sof authored
  3. is-connected predicates: use getPeerName() to test for connectivity; …

    sof authored
    …simply broken as was (at least since Sockets introduced the ConnectedToHandle state)
  4. Export headerMap from Network.HTTP.Headers

    sof authored
Commits on Aug 9, 2009
  1. pickChallenge: if Basic auth scheme is in effect and no challenge giv…

    Sigbjorn Finne authored
    …en, invent one
Commits on Aug 8, 2009
  1. expanded fetchProxy documentation

    Sigbjorn Finne authored
Something went wrong with that request. Please try again.