feat: exposed 'Date' header so clients can compute accurate relative time (#26979) REV-2126
feat: exposed 'Date' header so clients can compute accurate relative time (#26979) REV-2126

Exposed the Date header so clients can accurately compute times relative to the dates returned by the API; browser time is notoriously unreliable for this, especially for a Learner-facing countdown call-to-action based on the access expiration date. (REV-2126)

Using the Date header for this allows the client to make use of information that is already sent, does not require additional calls nor modifying the API, and could be generalized to more or all our APIs without modifying them.
arbrandes/edx-platform,EDUlib/edx-platform,EDUlib/edx-platform,angelapper/edx-platform,EDUlib/edx-platform,arbrandes/edx-platform,eduNEXT/edx-platform,eduNEXT/edx-platform,edx/edx-platform,eduNEXT/edunext-platform,edx/edx-platform,eduNEXT/edx-platform,angelapper/edx-platform,eduNEXT/edunext-platform,EDUlib/edx-platform,edx/edx-platform,eduNEXT/edunext-platform,angelapper/edx-platform,eduNEXT/edunext-platform,edx/edx-platform,arbrandes/edx-platform,arbrandes/edx-platform,angelapper/edx-platform,eduNEXT/edx-platform