http.header.
Key Name | Default Value | Required |
---|---|---|
|
None |
No |
Description
Set a custom HTTP header by using the following syntax, where [HeaderKey] is the name of the header to set and [HeaderValue] is the value to assign to the header:
http.header.[HeaderKey]=[HeaderValue]
For example:
http.header.AUTHENTICATED_USER=john
After the connector applies the header, the http.header. prefix is removed from the DSN entry, leaving an entry of [HeaderKey]=[HeaderValue]
The example above would create the following custom HTTP header:
AUTHENTICATED_USER: john
Note:
- The
http.header.
prefix is case-sensitive. - This option is applicable only when you are using HTTP as the Thrift transport protocol. For more information, see Transport Mode.
- Configuration Options Having Only Key Names
- Advanced Driver Configuration Options on page 1
- Configuring HTTP Options
- Configuring a DSN-less Connection