caddy/caddyhttp/proxy
Tw ecf852ea43 proxy: fix TestReverseProxy failure on go tip (#1360)
Because of this commit(6e36811c37399d60cbce587b7c48e611009c5aec) on go tip,
it will probe the request's body to determine whether to use chunked transfer
encoding which trailers depend on it.
So we just offer a non empty body to make trailers work.

fix issue #1359

Signed-off-by: Tw <tw19881113@gmail.com>
2017-01-18 15:34:25 -07:00
..
body_test.go proxy: record request Body for retry (fixes #1229) 2016-11-04 19:15:36 +08:00
body.go proxy: record request Body for retry (fixes #1229) 2016-11-04 19:15:36 +08:00
policy_test.go 1136 fix 2016-09-28 04:09:46 -07:00
policy.go 1136 fix 2016-09-28 04:09:46 -07:00
proxy_test.go proxy: fix TestReverseProxy failure on go tip (#1360) 2017-01-18 15:34:25 -07:00
proxy.go proxy: Added unbuffered request optimization 2017-01-11 19:38:14 +01:00
reverseproxy.go proxy: Added support for HTTP trailers 2016-12-30 18:34:26 +01:00
setup_test.go proxy: make value is optional when removing a header 2016-11-03 22:50:51 +00:00
setup.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
upstream_test.go Remove use of proxy_header in test 2016-09-24 12:27:16 -06:00
upstream.go proxy: Added unbuffered request optimization 2017-01-11 19:38:14 +01:00