Request-Content-Type; Request-Header-Profile - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Use the no request-body-profile command to remove any profile assigned using
this command.
Related Commands
webapp-gnvc (Global)

request-content-type

Sets the HTTP content types to allow.
Syntax
request-content-type PCRE
no request-content-type PCRE
no request-content-type
Parameters
PCRE Specifies a string representation of the Content type.
Guidelines
Use this command as many times as needed to create a list of HTTP Content types
that this profile allows. If no Content types are specified, all Content types are
allowed. You can use a PCRE expression to match one or more HTTP Content type
expressions.
Use the no form with the PCRE to remove only the designated Content type from
the list.
Use the noform without the PCRE argument to remove all Content types that are
assigned.
Examples
v Adds text/xml and text/html to the Contents types list.
v Removes text/xml from the Content types list.

request-header-profile

Sets the Name-Value Profile to process HTTP Header content.
Syntax
request-header-profile name
no request-header-profile name
# request-content-type text/html
# request-content-type text/xml
#
# no request-content-type text/xml
#
Chapter 94. Web Application Request Profile configuration mode
763

Advertisement

Table of Contents
loading

Table of Contents