From 77e50caaf2ef81cd91075cf836fed0e75718ffb4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 23:12:02 +0200 Subject: Adding debian version 1.8.3-2. Signed-off-by: Daniel Baumann --- .../doc/configure/headers_directives.html | 204 +++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 debian/vendor-h2o/doc/configure/headers_directives.html (limited to 'debian/vendor-h2o/doc/configure/headers_directives.html') diff --git a/debian/vendor-h2o/doc/configure/headers_directives.html b/debian/vendor-h2o/doc/configure/headers_directives.html new file mode 100644 index 0000000..0783310 --- /dev/null +++ b/debian/vendor-h2o/doc/configure/headers_directives.html @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + +Headers Directives - Configure - H2O - the optimized HTTP/2 server + + +
+
+ +

+H2O +

+

the optimized HTTP/1.x, HTTP/2 server

+ + +
+ +
+ +
+
+
+Powered by Oktavia +
+
+ + +
+ + + + + + + + + + + + +
+ +

+Configure > +Headers Directives +

+ + +

+This document describes the configuration directives of the headers handler. +

+ + + +
+
Description:
+
+

+Adds a new header line to the response headers, regardless if a header with the same name already exists. +

+ +
+
Example. Setting the Set-Cookie header
+
header.add: "Set-Cookie: test=1"
+
+ +
+
Level:
+
global, host, path, extension
+
+ + + +
+
Description:
+
+

+Adds a new header line, or appends the value to the existing header with the same name, separated by ,. + +

+ +
+
Level:
+
global, host, path, extension
+
+ + + + +
+
Description:
+
+

+Adds a new header line, or merges the value to the existing header of comma-separated values. + +

+ +

+The following example sets the must-revalidate attribute of the Cache-Control header when and only when the attribute is not yet being set. +

+
+
Example. Setting the must-revalidate attribute
+
header.merge: "Cache-Control: must-revalidate"
+
+
+ + +
+
Level:
+
global, host, path, extension
+
+ + + +
+
Description:
+
+

+Sets a header line, removing headers with the same name if exists. +

+ +
+
Example. Setting the X-Content-Type-Options: nosniff header
+
header.set: "X-Content-Type-Options: nosniff"
+
+
+ + +
+
Level:
+
global, host, path, extension
+
+ + + +
+
Description:
+
+

+Sets a header line when and only when a header with the same name does not already exist. + +

+ +
+
Level:
+
global, host, path, extension
+
+ + +
+
Description:
+
+

+Removes headers with given name. +

+ +
+
Example. Removing the X-Powered-By header
+
header.unset: "X-Powered-By"
+
+
+ + +
+
Level:
+
global, host, path, extension
+
+ + + + +
+ + + -- cgit v1.2.3