Example of the 'Date' header value in R4

There was a new section added in R4 that talks about that the server should return the default timezone in the HTTP Response header using the “Date” header.

If the server has a default timezone, it SHOULD return the default timezone in the HTTP Response headers using the " Date " header.

Is there an example of what the value might look like?

https://tools.ietf.org/html/rfc7231#section- already defines the Date header to be:

The “Date” header field represents the date and time at which the
message was originated.

Most of the servers already has built-in functionality to return the Date header in UTC timezone.

Is the R4 spec saying that the server should include the Date header with the timestamp of when the request was processed using the timezone of the server or in some other format that only indicates the timezone of the server?


Unfortunately, that sentence is wrong, and this slipped past us :frowning:

Worse, there is no standard way to do this, and it’s something that has come up quite a bit for us on the API. But not, apparently, for other communities. There’s thing like this: https://lists.w3.org/Archives/Public/ietf-http-wg/2011OctDec/0349.html but in general, there’s just not enough people who think this is a problem to matter for a general HTTP solution.

So I think is something for us to solve in a future version

For reference, you can see some back discussion here: https://chat.fhir.org/#narrow/stream/179166-implementers/topic/Date.20http.20header.20for.20timezone