From 6c25888fe0e3773cb21b31ffac08c44af5d68a68 Mon Sep 17 00:00:00 2001 From: Alex W Date: Tue, 21 May 2024 23:25:06 +0100 Subject: reverse-proxy: T6370: Set custom HTTP headers in reverse-proxy responses (cherry picked from commit e1450096b4c667a4c33a3fcd8f67ebf6a39d441d) --- .../include/haproxy/http-response-headers.xml.i | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 interface-definitions/include/haproxy/http-response-headers.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/haproxy/http-response-headers.xml.i b/interface-definitions/include/haproxy/http-response-headers.xml.i new file mode 100644 index 000000000..9e7ddfd28 --- /dev/null +++ b/interface-definitions/include/haproxy/http-response-headers.xml.i @@ -0,0 +1,29 @@ + + + + Headers to include in HTTP response + + txt + HTTP header name + + + [-a-zA-Z]+ + + Header names must only include alphabetical characters and hyphens + + + + + HTTP header value + + txt + HTTP header value + + + [[:ascii:]]{1,256} + + + + + + -- cgit v1.2.3