All services should return the following headers.
- Date: The date that the request was processed in RFC 3339 format.
- Content-Type: The content type of the response.
- Content-Encoding: gzip or deflate.
- X-Request-ID/X-Correlation-ID: Whilst you may not directly request your clients to implement this header it may be something that you add to requests when you call downstream services. When you are trying to debug a service that is running in production it can be incredibly useful to be able to group all the requests by a single transaction ID. A common practice that we will see when we look at logging and monitoring is to store all logs in a common database such as Elastic Search. By setting the standard way of working ...