Chapter 27. Http Input Conversion Map Configuration Mode; Default-Encoding - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Chapter 27. HTTP Input Conversion Map configuration mode

This chapter provides an alphabetic listing of commands that are available in
HTTP Input Conversion Map configuration mode.
To enter this configuration mode, use the Global input-conversion-map command.
All of the commands that are listed in "Common commands" on page 2 and most,
but not all, of the commands that are listed in Chapter 114, "Monitoring
commands," on page 949 are also available in HTTP Input Conversion Map
configuration mode.

default-encoding

Specifies the input default encoding.
Syntax
default-encoding {base64 | plain | urlencoded | xml}
Parameters
base64
plain
urlencoded
xml
Related Commands
rule
Guidelines
The input conversion map describes the way an incoming document is expected to
be encoded. For each input in a request, the name is compared to the list of rules.
Each rule contains a regular expression and the resulting encoding. The first
matching regular expression indicates the encoding to be used for the input. If no
rules match, the encoding specified by the default-encoding property is used.
Examples
v Defines an HTTP Input Conversion Map: default encoding is urlencoded. Any
© Copyright IBM Corp. 1999, 2008
Treats input literally. Adds encoding='base64' to input element.
XML escapes the input.
(Default) URL unescapes, then XML escapes the input.
Treats input literally, no processing.
input that ends with xml is treated as XML. Any input that ends with base64 is
treated and tagged as Base64.
# input-conversion-map ICM-1
New HTTP Input Conversion Map configuration
# default-encoding urlencoded
# rule xml$ xml
# rule base64$ base64
327

Advertisement

Table of Contents
loading

Table of Contents