Share via


3.5.5.1 Polling-POST-Response Processing

Upon receiving data on the POST session, the client MUST scan the data to verify that it has received an HTTP response status line, as specified in section 2.2.2.2.3. If not, a protocol error exists on the POST session, and the client MUST close the virtual Polling connection (see section 3.5.4.2).

The HTTP response header MUST be parsed and the status code and response body extracted.

The NetworkReceiveIO timer SHOULD be stopped and no further timer expiration processing is performed.

If the PostSessionState is in the 'Connecting' state, the receipt of a Polling-POST-Response causes the PostSessionState to transition to 'Connected'.