commit | f03b53c81d52344c29d7a5434ac32f3127cebf75 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Wed Nov 24 15:38:17 2021 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed Nov 24 15:44:36 2021 +0100 |
tree | 1da376f5ba7cadfd4525ffe799c4ef655e6dee3f | |
parent | 27f88a9059d0e343d82a0319b622e0f4248b0bb8 [diff] |
BUG/MINOR: httpclient: allow to replace the host header This patch allows to replace the host header generated by the httpclient instead of adding a new one, resulting in the server replying an error 400. The host header is now generated from the uri only if it wasn't found in the list of headers. Also add a new request in the VTC file to test this. This patch must be backported in 2.5.