commit | d7df73a114a82cd70c5ec0a2d5d48b023c28ffa5 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Thu Sep 23 17:54:00 2021 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Fri Sep 24 14:29:36 2021 +0200 |
tree | 7e5c3956c0cec9f6c24d444beecc6bac1bc3de38 | |
parent | 3956c4ead20abf750d0685205e0fece8bb343350 [diff] |
MINOR: httpclient/lua: implement the headers in the response object Provide a new field "headers" in the response of the HTTPClient, which contains all headers of the response. This field is a multi-dimensionnal table which could be represented this way in lua: headers = { ["content-type"] = { "text/html" }, ["cache-control"] = { "no-cache" } }