http-proxy: A library for writing HTTP and HTTPS proxies

[ bsd3, library, program, web ] [ Propose Tags ]

http-proxy is a library for writing HTTP and HTTPS proxies.

Use of the Conduit 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.

[Skip to Readme]
Versions [RSS] [faq] 0.0, 0.0.1, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12,,,,,,,,
Change log
Dependencies async (==2.2.*), base (==4.*), bytestring (>=0.10.8), bytestring-lexing (>=0.5), case-insensitive (>=1.2), conduit (==1.3.*), conduit-extra (==1.3.*), http-client (==0.7.*), http-conduit (==2.3.*), http-proxy, http-types (==0.12.*), mtl (==2.2.*), network (>=3.1), network-uri, resourcet (==1.2.*), streaming-commons (==0.2.*), text (==1.2.*), tls (==1.5.*), transformers (==0.5.*), wai (==3.2.*), wai-conduit (==3.0.*), warp (==3.3.*), warp-tls (==3.3.*) [details]
License BSD-3-Clause
Author Michael Snoyman, Erik de Castro Lopo
Category Web
Home page
Bug tracker
Source repo head: git clone
Uploaded by ErikDeCastroLopo at 2021-04-17T11:08:40Z
Distributions NixOS:
Executables simple-proxy, request-rewrite-proxy
Downloads 12874 total (40 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-04-17 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees


Readme for http-proxy-

[back to package description]


Build Status

A Haskell library for creating HTTP and HTTPS web proxies.

The aim is to make all proxying operations work in constant space (per connection) so that memory usage scales linearly with the number of concurrent connections and is completely independent of the size of either the POST request body or the response body.

This library relies heavily on the following libraries:

  • wai : A common protocol between web servers and clients.
  • warp : The web servers the proxy application runs in.
  • http-conduit / http-client : Perform the upstream requests.

This is still beta quality.