Chunked-Uploads-Policy; Compression-Policy - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

chunked-uploads-policy

Creates a chunked uploads policy.
Syntax
chunked-uploads pattern {on | off}
Parameters
pattern Specifies a shell-style match pattern that defines the URL set subject to this
on
off
Guidelines
A Chunked Uploads Policy defines a URL set and enables or disables chunked
encoding for that group of URLs.
The User Agent may send an HTTP 1.1 request to the back end server. In this case,
the body of the document can be delimited by either Content-Length or chunked
encoding. All servers will understand how to interpret Content-Length, and many
applications will fail to understand chunked, so Content-Length is generally used.
However doing so interferes with the ability of the appliance to fully stream. If
you must stream full documents towards the back side, this property should be
turned on. However, you must know beforehand that the server with which you
are communicating is RFC 2616 compatible, unlike all other HTTP 1.1 features
which can be negotiated down at runtime if necessary. You might also consider
leaving this property turned off and turning it on a per-URL basis with the User
Agent configuration.
Examples
v Adds a Chunked Uploads Policy, which enables HTTP 1.1 chunked encoding on

compression-policy

Creates a compression policy.
chunked uploads policy.
You can use wildcards to define a match pattern as follows:
*
The string wildcard matches 0 or more occurrences of any character.
?
The single character wildcard matches one occurrence of any single
character.
[]
The delimiters bracket a character or numeric range:
Matches 1, 2, 3, 4, or 5
[1-5]
Matches x or y
[xy]
Enables chunked encoding.
(default) Disables chunked encoding. Alternatively, use the no
chunked-uploads-policy command.
the URL set defined by *datapower.com*; subsequently disables chunked
encoding support, thus restoring the default state.
# chunked-uploads-policy *datapower.com* on
. .
.
# chunked-uploads-policy *datapower.com* off
#
Chapter 87. User Agent configuration mode
711

Advertisement

Table of Contents
loading

Table of Contents