2.1.2.2.2 Sending Reply

A Remote Method reply is mapped to an HTTP response and MUST have the following HTTP header fields:

  • The Content-Type of the response MUST match the Content-Type of the request.

  • An implementation MUST return an HTTP response with a Status-Code and message body as shown in the following table. The Reason-Phrase value SHOULD be as follows.

    Request message

    Status-Code

    Reason-Phrase

    Message body

    One-Way Method

    202

    Accepted

    Empty

    Two-Way Method

    200

    OK

    Serialized message content