This sections provides details about how the Replayer interprets HTTP responses, and about how it processes HTTP headers.
When a request is made from the Replayer to the destination, the response is interpreted as belonging to one of three categories: success, offline, or error.
A success response indicates that the destination accepted the envelope. Any 2xx HTTP status code is considered a successful response.
An offline response indicates that the destination is failing to respond to requests of any kind. A response is considered an offline response if:
An error response indicates that the destination rejected this envelope in particular. A response is considered an error response if:
The Replayer preserves the envelope body byte-for-byte. Envelope headers, on the other hand, must sometimes be modified to ensure correct delivery of envelopes. This section describes how the Replayer uses the headers of envelopes stored in the Standalone Repository.
The following headers are always generated during dispatching, ignoring any values present on the stored envelope.
X-RI-Capabilities(Indicates functionality of this product)
Each of the following headers uses a combination of the existing value from the stored envelope and new information (such as an IP address in the case of
X-Forwarded-For). If the envelope does not have the corresponding header, only
the new information is used.
X-PreEmptive-Replayer(Indicates that the envelope passed through a Replayer)
X-PreEmptive-Repository(Indicates that the envelope passed through a Standalone Repository)
Each of the following headers uses the existing value from the stored envelope. If that header wasn't present on the envelope, the Replayer generates a new value.
X-PreEmptive-ReceiveDate(Indicates when a PreEmptive Analytics server first handled this envelope)
Each of the following headers uses the existing value from the stored envelope. The header is not sent if it was not present on the envelope.
X-RI-prefix, unless otherwise mentioned above.
No other headers are sent, even if they were present on the stored envelope.