1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
examples/http-full-proxy
Arve Seljebu 82786d4461 Full proxy omit content length (#152)
* omit content-length header in http-full-proxy

* cargo fmt
2019-07-01 10:02:51 +06:00
..
src Full proxy omit content length (#152) 2019-07-01 10:02:51 +06:00
Cargo.toml update actix-web to 1.0.0 2019-06-06 16:47:40 +06:00
README.md Add example of a full HTTP proxy, proxying body, header and method (#58) 2018-11-04 12:20:57 +03:00

HTTP Full proxy example

This proxy forwards all types of requests, including ones with body, to another HTTP server, returning the response to the client.

To start:

cargo run <listen addr> <listen port> <forward addr> <forward port>