You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/05/13 22:27:28 UTC

[trafficserver] branch jpeach-patch-1 created (now ad5955e)

This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a change to branch jpeach-patch-1
in repository https://git-dual.apache.org/repos/asf/trafficserver.git.

        at  ad5955e   Update Server response header documentation.

This branch includes the following new commits:

       new  ad5955e   Update Server response header documentation.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].

[trafficserver] 01/01: Update Server response header documentation.

Posted by jp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch jpeach-patch-1
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit ad5955ea3e03d9b27e576689fdac7c845330eeea
Author: James Peach <jp...@apache.org>
AuthorDate: Fri May 13 15:27:20 2016 -0700

    Update Server response header documentation.
    
    Move Server response header configurations adjacent to each other.
---
 doc/admin-guide/files/records.config.en.rst | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/admin-guide/files/records.config.en.rst b/doc/admin-guide/files/records.config.en.rst
index 77e88cf..99f9995 100644
--- a/doc/admin-guide/files/records.config.en.rst
+++ b/doc/admin-guide/files/records.config.en.rst
@@ -751,9 +751,15 @@ Value Effect
    You can specify one of the following:
 
    -  ``0`` no Server: header is added to the response.
-   -  ``1`` the Server: header is added (see string below).
+   -  ``1`` the Server: header is added according to :ts:cv:`proxy.config.http.response_server_str`
    -  ``2`` the Server: header is added only if the response from origin does not have one already.
 
+.. ts:cv:: CONFIG proxy.config.http.response_server_str STRING ATS/${PACKAGE_VERSION}
+   :reloadable:
+   :overridable:
+
+   The Server: string that ATS will insert in a response header (if requested, see above). Note that the actual default value is defined with ``"ATS/" PACKAGE_VERSION`` in a C++ source code, and you must write such as ``ATS/6.0.0`` if you really set a value with the version in :file:`records.config` file. If you want to hide the version, you can set this value to ``ATS``.
+
 .. ts:cv:: CONFIG proxy.config.http.insert_age_in_response INT 1
    :reloadable:
    :overridable:
@@ -764,12 +770,6 @@ Value Effect
    -  ``0`` no ``Age`` header is added
    -  ``1`` the ``Age`` header is added
 
-.. ts:cv:: CONFIG proxy.config.http.response_server_str STRING ATS/${PACKAGE_VERSION}
-   :reloadable:
-   :overridable:
-
-   The Server: string that ATS will insert in a response header (if requested, see above). Note that the actual default value is defined with ``"ATS/" PACKAGE_VERSION`` in a C++ source code, and you must write such as ``ATS/6.0.0`` if you really set a value with the version in :file:`records.config` file. If you want to hide the version, you can set this value to ``ATS``.
-
 .. ts:cv:: CONFIG proxy.config.http.enable_url_expandomatic INT 0
    :reloadable:
 

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.