Specify a custom HTTP header.
custom_header=header
HTTP headers are of the form header_name: header_value.
None
When you specify custom HTTP headers, the client includes the headers with every HTTP request it sends. To specify more than one custom header, use custom_header multiple times.
Custom headers are useful when your synchronization client interacts with a third-party tool that requires custom headers.
For information about how to set network protocol options with dbmlsync, see CommunicationAddress (adr) extended option.
For information about how to set network protocol options with UltraLite, see Network protocol options for UltraLite synchronization streams.
Some HTTP proxies require all requests to contain special headers. The following example sets a custom HTTP header called MyProxyHdr to the value ProxyUser in an embedded SQL or C++ UltraLite application:
info.stream = "http"; info.stream_parms = TEXT( "host=www.myhost.com;proxy_host=www.myproxy.com; custom_header=MyProxyHdr:ProxyUser");