Response(4.3)

The Response  UDR contains the response to the request and is incorporated in the RequestCycle UDR.

The following fields are included in the Response UDR:

FieldDescription
body (any)

This field contains the message body, i e the payload, of the response. For HEAD requests, a body is never present in the response. For all other request methods, responses are present with the following exceptions:

  • responses to CONNECT requests with status code 2xx
  • responses to requests with status code 1xx (informational)
  • responses to requests with status code 204 (no content)
  • responses to requests with status code 304 (not modified)
cookies (list<CookieUDR>)This field contains any Cookie UDRs included.
headers (map<string,list<string>>)This field is populated by all the headers present in the response. The map keys contain header field names and the content is stored in the corresponding map values.
httpVersion (string)This field contains the HTTP version; HTTP/1 or HTTP/2.
mimetype (string)

The type of the content, e g "text/html", "image/gif", etc.

openAPIUDR (DRUDR)This field is used if an OpenAPI profile has been associated with the HTTP/2 Server agent.
statusCode (int)The HTTP status code, eg: 200 - OK, 404 - Not Found, etc.