KB Article #163662

Configure HTTP 1.0 and add Content-Length to HTTP headers

Change default HTTP version without using a Remote Host
 
It is possible to change the global defaults for HTTP communication which is especially useful in cases where a remote host cannot be used because.  i) target hostname is dynamic or ii) the remote list is big and always changing which requires frequency re-deployment
 

For 7.1.0 add below attributes in red to SystemSettings in instance file main_api_server_root_dir/apiserver/groups/group-id/instance-id/conf/service.xml

 
    <SystemSettings 
         tracelevel="INFO" 
         secret="${secret}" 
         serviceID="${serviceID}" 
         groupID="${groupID}" 
         serviceName="${serviceName}" 
         groupName="${groupName}"
         domainID="${domainID}" 
         includeContentLengthResponse="1"
         includeContentLengthRequest="1"
         allowHTTP11="0" 
    />
 
For 6.3.1 add following red attributes to SystemSettings in $VDISTDIR/system/conf/vordelgateway.xml: 

e.g.

 

    <SystemSettings

            tracelevel="&server.tracelevel;"

            title="&server.title;"

            homedir="$VINSTDIR"

            secret="&server.entitystore.secret;"

            serviceType="&server.serviceType;"

            serviceID="&server.title;"

            includeContentLengthResponse="1"

            includeContentLengthRequest="1"

            allowHTTP11="0"

    />

 
For 6.3.1 instance file $VINSTDIR/conf/service.xml
 
<NetService provider="NetService">
 
    Configuration file for service.
    Note that if you wish for the user to enter a passphrase at
    start up then give the "secret" attribute a value "(prompt)",
    for example:
 
<NetService provider="NetService">
         secret="(prompt)"
    <SystemSettings secret="" serviceID="service2" tracelevel="INFO" 

            includeContentLengthResponse="1"

            includeContentLengthRequest="1"

            allowHTTP11="0"

      />
    <include file="$VDISTDIR/system/conf/platform.xml" />
    <include file="$VDISTDIR/system/conf/trace.xml" />
    <include file="$VDISTDIR/system/conf/jvm.xml" />
    <include file="$VDISTDIR/system/conf/service.xml" />
 
</NetService>