Include-Content-Type-Encoding; Inject - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

include-content-type-encoding

Controls the inclusion of character set encoding data in content-type headers.
Syntax
include-content-type-encoding {on | off}
Parameters
on
off
Guidelines
Assume a UTF-8 encoded XML document.
v When enabled, the content-type header contains:
v When disabled, the content-type the content-type header contains:
Examples
v Enables the inclusion of content-type encoding and subsequently disables such

inject

Injects proprietary HTTP header fields into the packet stream between the current
Multi-Protocol Gateway and an HTTP client or server.
Syntax
inject {front | back} header value
no inject {front | back} header
Parameters
front
back
header Identifies a proprietary HTTP header field. This property is case-sensitive.
# http-server-version http/1.0
#
Enables the inclusion of character set encoding date in content-type
headers.
Disables the inclusion of character set encoding date in content-type
headers.
text/xml; charset=UTF-8
text/xml
inclusion, which restores the default state.
# include-content-type-encoding on
. .
.
# include-content-type-encoding off
#
Designates the packet stream between a Multi-Protocol Gateway and the
HTTP client.
Designates the packet stream between a Multi-Protocol Gateway and the
HTTP server.
Chapter 49. Multi-Protocol Gateway configuration mode
447

Advertisement

Table of Contents
loading

Table of Contents