This activity may be used to send a status code and reason in response to an inbound HTTP request.
The activity is valid only with an inbound HTTP session – that is one that was initiated using the HTTP_BEGIN_INBOUND activity. For more information on inbound HTTP processing in LANSA Composer, refer to:
HTTP Inbound (Server) Processing in LANSA Composer
This parameter must specify the session handle value that identifies the HTTP session upon which this activity should operate. The session handle value is returned by the HTTP_BEGIN_INBOUND activity.
This parameter specifies the response status code to be sent in response to the inbound HTTP request. For example, a status of 200 usually indicates that the request has succeeded. For more information on HTTP response status codes refer to Status Code Definitions.
If this parameter is not specified, a default status code of 200 is sent.
This parameter specifies the response reason to be sent in response to the inbound HTTP request. The reason (message), if provided, gives a human readable description of the response status code. For example, response status 200 will often be accompanied by a reason 'OK', usually indicating that the request has succeeded. For more information on HTTP responses refer to Response.
There are no output parameters.