Database Reference
In-Depth Information
Response header
The response header will, most probably, have six parameters. Three of those parameters
(which we have already discussed) are content type, content length, and date. The other
three parameters, which are new to this chapter, are listed as follows:
HTTP/1.1 : This header will have the status of the response to a request from the
server. If it is 200, it means success, 4xx means client-side error, and 5xx means
server-side error. This will be covered in detail in the next section.
x-amzn-RequestId : This returned request ID can be used to debug the re-
quest.
x-amz-crc32 : This is the checksum returned by the DynamoDB server. We
need to calculate the checksum of the returned data with this number. If the check-
sum doesn't match, it means somebody has done something nasty and data loss has
occurred during data transfer. In this case, we must run the request once again. In
the case of the SDK, this retry happens automatically.
Search WWH ::




Custom Search