DFHHTTPSTATUS container

DFHHTTPSTATUS is a container of DATATYPE(CHAR) that is used to specify the HTTP status code and status text for a message produced in the response phase of a service provider pipeline.

The content of the DFHHTTPSTATUS container must be the same as the initial status line of an HTTP response message, which has the following structure:

                                                    
HTTP/1.1 nnn tttttttt
  
HTTP/1.1
The version and release of HTTP.
nnn
The 3-digit decimal HTTP status code to return.
tttttttt
The human-readable status text associated with the status code nnn.

The following string is an example of the content:

                                                   
  HTTP/1.1 412 Precondition Failed

The DFHHTTPSTATUS container is ignored when the pipeline uses the WebSphere MQ transport.