Attribute

UserAgent (ua)

Purpose

Specifies the string value of the User-Agent header to be used in HTTP requests. This option provides a method to override the default value of the User-Agent header when required by a service.

Note that the default value of the User-Agent header is Progress Software driver_name Driver; although, certain internal conditions can cause this value to be altered.

Valid Values

String

where:

String

is the string value of the User-Agent header.

Example

Some services require the string gzip to be in the user agent header to enable GZip compression in their responses, in addition to the usual Accept-Encoding header. For example:

UserAgent=Our Stupendous Application (gzip)

Other services require contain information, such as an email address, to be included in the user agent header for diagnostic purposes. For example:

UserAgent=gcollison@example.com

Default Value

No default value