packages feed

http-proxy-0.0.1: http-proxy.cabal

Name:           http-proxy
Version:        0.0.1
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.
  .
  Eventually, features like logging, request re-writing, disk caching etc will
  be made available via caller provided functions in the Settings data type.

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
                   , blaze-builder-enumerator      >= 0.2      && < 0.3
                   , transformers                  >= 0.2.2    && < 0.3
                   , blaze-builder                 >= 0.2.1.4  && < 0.4
                   , http-types                    >= 0.6      && < 0.7
                   , case-insensitive              >= 0.2
                   , unix-compat                   >= 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