|
|
|
|
|
|
|
☜ | OMI - Response HeaderDraft MDC Standard | ☞ |
5.3.2 Response header
Each response shall contain a header that describes the
server’s response to 1 request.
The response header is a short string <SS> so that the
agent can locate the field following the header. 5.3.1 discusses
the need for this ability.
The fields of the response header and their sequence shall
be:
- Error class: <LI> denotes 1 of 65 536
classes of errors. The MUMPS Development Committee assigns
classes to OMI versions and to specific extensions of the
standard (see 4.12). The classes of errors specified by
ANSI/MDC X11.2 shall be 0 and 1. All other classes are
reserved for assignment by the MUMPS Development Committee.
An error class of 0 means that the request completed
successfully. Class 1 indicates failure to perform the
request.
- Error type: <SI> indicates the result of the
server’s attempt to perform the request. When the error class is
0, indicating success, then the error type indicates types of
success. For other error classes, the error type denotes a
specific error condition.
- Error modifier: <LI> modifies the meaning of
specific error conditions. This field is optional, therefore it
may be set to 0 by a server and may be ignored by an agent. See
specific operations in 5.4 for use of the error modifier.
- Server status: <LI> conveys information about
the server itself, and is not necessarily related to the request.
Each change in server status is conveyed in only 1 response. A
value of 0 means that no change in server status has occurred
since the last response.
- Sequence number: <LI> This number shall equal
the sequence number of the corresponding request.
- Request identifier: This number shall equal the
request identifier of the corresponding request.
<SS> |
<SI> |
<LI> Class |
<LI> Type |
<LI> Modifier |
<LI> Server Status |
<LI> Sequence |
<LI> Req ID |
Figure 6 – Form of a response header
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
Some specifications are "approved
for inclusion in a future standard". Note
that the MUMPS Development Committee cannot
guarantee that such future standards will
indeed be published.
This page most recently updated on 14-Nov-2023, 21:47:33.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)