SEND_VERSION
The SEND_VERSION
element defines whether the GAS sends the GAS version
to the client.
Syntax
<SEND_VERSION>{
"TRUE"|
"FALSE"}
</SEND_VERSION>
- Valid values are
TRUE
orFALSE
. WhenSEND_VERSION
is set toTRUE
, the GAS version is sent in the header,X-FourJs-Version
, to the client. The default isFALSE
, set by the$(res.http.send.version)
resource value.
Child elements
There are no child elements.
Usage
Use the SEND_VERSION
to configure sending the GAS version number to the client.
By default the X-FourJs-Version
header is not sent using FastCGI and IIS
dispatchers. You can change this behavior by setting the SEND_VERSION
. Be aware
that exposing the GAS version number on the client side may have security implications.
The standalone dispatcher (httpdispatch), as a development tool, always
ignores this configuration entry. The standalone dispatcher always sends the
X-FourJs-Version
header.
Example sending GAS version
<INTERFACE_TO_CONNECTOR>
...
<HTTP>
<SEND_VERSION>TRUE</SEND_VERSION>
...
</HTTP>
</INTERFACE_TO_CONNECTOR>
Override the default
The $(res.http.send.version)
resource can be used at the command line to change
the GAS value.
fastcgidispatch -s -E res.http.send.version=TRUE
For more information about using the override, go to Override configuration resources.
Parent elements
This element is a child of the HTTP element.