From ab8771285c90074c30b2c6584bb3682c0f734678 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Gross?= Date: Thu, 8 Oct 2020 10:06:03 +0200 Subject: [PATCH] DOC: Fix typos in configuration.txt This patch fixes small typos and grammar in configuration.txt for the http-request return documentation. --- doc/configuration.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 3b14e83..083f1f6 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -5692,7 +5692,7 @@ http-request return [status ] [content-type ] default status code used for the response is 200. It can be optionally specified as an arguments to "status". The response content-type may also be specified as an argument to "content-type". Finally the response itself may - be defined. If can be a full HTTP response specifying the errorfile to use, + be defined. It can be a full HTTP response specifying the errorfile to use, or the response payload specifying the file or the string to use. These rules are followed to create the response : @@ -5733,14 +5733,14 @@ http-request return [status ] [content-type ] evaluated as a log-format string. With a "string" argument, it is considered as a raw string. - When the response is not based an errorfile, it is possible to appends HTTP + When the response is not based on an errorfile, it is possible to append HTTP header fields to the response using "hdr" arguments. Otherwise, all "hdr" arguments are ignored. For each one, the header name is specified in and its value is defined by which follows the log-format rules. Note that the generated response must be smaller than a buffer. And to avoid any warning, when an errorfile or a raw file is loaded, the buffer space - reserved to the headers rewriting should also be free. + reserved for the headers rewriting should also be free. No further "http-request" rules are evaluated. -- 1.7.10.4