IBM WebSphere XS40 Command Reference Manual page 1019

Datapower xml security gateway
Table of Contents

Advertisement

var://local/_extension/response-headers
Gets the manifest for the response header. This variable, on the output
context of a dp:url-open() extension function or results action or fetch
action, contains in the response header manifest.
var://local/_extension/response-header/headerName
Gets the contents of the specified response header. This variable, in the
output context of a dp:url-open() extension function or results action or
fetch action, contains the contents of the specified response header.
var://local/_extension/responsecode
Gets the response code. This variable is set on an output context to
indicate the protocol-level response code of a dp:url-open() extension
function or results action or fetch action. For instance, if the following
action is successful:
results tmpvar2 http://foo.bar.com/foome.asp tmpvar3
The value of 200 would be written to the var://context/tmpvar3/
_extension/responsecode context variable.
var://local/_extension/variables
Gets the variable manifest.
Write-only variables
var://local/_extension/allow-compression
Enables compression of HTTP requests. Set this variable to allow
compression of outgoing results content and negotiate the returned
document to be compressed if the underlying protocol supports it. For
HTTP, this means the content-encoding and accept-encoding headers.
var://local/_extension/donot-follow-redirect
Disables HTTP redirects. Set this variable to prevent the following of
protocol-level redirect sequences on the outgoing results and fetch calls
that are associated with this context. By default, redirects are followed.
var://local/_extension/header/
Appends the specified header field to the protocol connection. Variables of
the following form can be set to append headers to the dp:url-open()
extension function or results action or fetch action connection when a
context that contains them is used as the input context:
_extension/header/*
The following example would add the HTTP header X-foo: bar to the
HTTP request:
setvar tmpvar2 var://local/_extension/header/X-foo bar
results tmpvar2 http://foo.bar.com/foome.asp tmpvar3"
var://local/_extension/http-10-only
Restricts HTTP to version 1.0. Set this variable to prevent the use of
HTTP/1.1 on the related context of a results action or fetch action.
var://local/_extension/prevent-persistent-connection
Disables HTTP persistent connection. Set this variable to prevent persistent
connections of the outgoing a results action call or fetch action call that is
associated with this context. Persistent connections are supported by
default, where appropriate.
var://local/_extension/sslprofile
Sets the SSL proxy profile for the request. This variable can be set on the
Appendix A. Working with variables
993

Advertisement

Table of Contents
loading

Table of Contents