0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp/proxy
Gyula Voros b783caaaed Filter empty headers (#1239)
* Filter empty headers

Some web servers (e.g. Jetty 9.3) don’t like HTTP headers with empty values. This commit filters header replacements with zero length.

* Extend tests to verify removal of empty headers

* Handle add-header case

* Change - Use short variable assignment
2016-11-16 21:41:53 -07:00
..
body.go proxy: record request Body for retry (fixes #1229) 2016-11-04 19:15:36 +08:00
body_test.go proxy: record request Body for retry (fixes #1229) 2016-11-04 19:15:36 +08:00
policy.go 1136 fix 2016-09-28 04:09:46 -07:00
policy_test.go 1136 fix 2016-09-28 04:09:46 -07:00
proxy.go Filter empty headers (#1239) 2016-11-16 21:41:53 -07:00
proxy_test.go Filter empty headers (#1239) 2016-11-16 21:41:53 -07:00
reverseproxy.go Merge branch 'master' into 1173 2016-10-13 22:56:19 -06:00
setup.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
setup_test.go proxy: make value is optional when removing a header 2016-11-03 22:50:51 +00:00
upstream.go proxy: make value is optional when removing a header 2016-11-03 22:50:51 +00:00
upstream_test.go Remove use of proxy_header in test 2016-09-24 12:27:16 -06:00