HTTP response configuration

This module will generate a HTTP response with customized headers and body.

Property Description

Name

The name of the module configuration.

Header Name

Use Header Name and Header Value Regular Expression fields to not generate a response for this request. If any field is empty, this module will response. (No proxy.)

Default: Empty

Header Value Regular Expression

If Header Name field is in use, this regular expression is used on the header value. If the expression returns a result, this module will exit and request will be handled by Pointsharp Proxy.

Default: Empty

HTTP Code

The HTTP code sent in the custom response.

Default: 200 OK

Message

The message set in the response body.

Response Headers

Enter custom response headers. The value {date} will be replaced with current date/time. No Content-Length or Transfer-Encoding is needed, however Content-Type might be needed depending on if a response file is specified.

Default: Content-Type is set to plain/text if data is sent

Response File

Full path to a file containing response content.

Default: Empty

XML value persistence

This feature is used when a value or string from request XML data is needed inside the response.

Property Description

Enabled

Click to enable function.

Request data regular expression

Regular expression used to fetch value from request.

Response file replace string

Response file field, to replace with client data value.

Default: "{ValueFromRequest}"