packages feed

http-proxy-0.0.4: http-proxy.cabal

Name:           http-proxy
Version:        0.0.4
License:        BSD3
License-file:   LICENSE
Author:         Michael Snoyman, Stephen Blackheath, Erik de Castro Lopo
Maintainer:     erikd@mega-nerd.com
Homepage:       https://github.com/erikd/http-proxy
Category:       Web
Build-Type:     Simple
Cabal-Version:  >=1.6
Stability:      Experimental

Synopsis:       A library for writing HTTP and HTTPS proxies

Description:
  http-proxy is a library for writing HTTP and HTTPS proxies.
  .
  Use of the enumerator library provides file streaming via the proxy in both
  directions. Memory usage of the proxy scales linearly with the number of
  simultaneous connections and is independent of the size of the files being
  uploaded or downloaded.
  .
  The Settings data type provided by the library allows the caller to supply
  a functions for exception reporting and request re-writing.  Eventually, this
  capability will be expanded to allow optional logging, disk caching etc.

flag network-bytestring
    Default: False

Library
  Build-Depends:     base                          >= 3        && < 5
                   , bytestring                    >= 0.9.1.4  && < 0.10
                   , wai                           >= 0.4      && < 0.5
                   , enumerator                    >= 0.4.8    && < 0.5
                   , http-enumerator               >= 0.7      && < 0.8
                   , transformers                  >= 0.2.2    && < 0.3
                   , blaze-builder                 >= 0.2.1.4  && < 0.4
                   , http-types                    >= 0.6      && < 0.7
                   , case-insensitive              >= 0.2
  if flag(network-bytestring)
      build-depends: network               >= 2.2.1.5 && < 2.2.3
                   , network-bytestring    >= 0.1.3   && < 0.1.4
  else
      build-depends: network               >= 2.3     && < 2.4
  Exposed-modules:   Network.HTTP.Proxy
  Other-modules:     Network.HTTP.Proxy.Timeout

  ghc-options:       -Wall
  if os(windows)
      Cpp-options: -DWINDOWS

source-repository head
  type:     git
  location: git://github.com/erikd/http-proxy.git