encoding: HTTP x-msg-encoding entity-header

Set or return the message encoding.

Type Description
HTTP header name x-msg-encoding
HTTP header type Entity-header
Valid in HTTP request message POST, x-msg-require-headers
Allowed values A comma-separated list of the following values:
DECIMAL_NORMAL
DECIMAL_REVERSED
FLOAT_IEEE_NORMAL
FLOAT_IEEE_REVERSED
FLOAT_S390
INTEGER_NORMAL
INTEGER_REVERSED
For example,
x-msg-encoding: INTEGER_NORMAL,DECIMAL_NORMAL,FLOAT_IEEE_NORMAL
Note: The value is case-sensitive
Default value DECIMAL_NORMAL, FLOAT_IEEE_NORMAL, INTEGER_NORMAL

Description

  • On an HTTP POST request, specifies the encoding of the message created.
  • On an HTTP GET or DELETE request, the x-msg-encoding header is ignored.
  • Specified in x-msg-require-headers, sets x-msg-encoding in the HTTP response message to the encoding property of a message.