AnsweredAssumed Answered

Dates in Headers in REST

Question asked by md0049252 on Aug 28, 2018
Latest reply on Aug 31, 2018 by md0049252

The request headers have three dates in them:

 

Last-Modified

Expires

Date

 

The only one that uses the correct YEAR is Date.  WHY? Why does Last-Modified have today's month and day, but a 1998 date. Why does Expires have last year's (2017) date? Here's an example, with some info scrubbed, and the dates bolded:

 

{'X-Blackboard-product': 'Blackboard Learn ™ 3400.0.3-rel.29+ca7bfde', 

'Last-Modified': 'Fri, 28 Aug 1998 15:36:33 GMT',

'Expires': 'Mon, 28 Aug 2017 15:36:33 GMT',

'X-Blackboard-Context-Version': '3400.0.3-rel.29+ca7bfde',

'Content-Type': 'application/json;

charset=UTF-8',

'Transfer-Encoding': 'chunked',

'Date': 'Tue, 28 Aug 2018 15:36:33 GMT}

 

So, first off, all three times are the same - which doesn't really help me know when the token expires. More confusing, however, is the fact that they all use different years. 

 

The question stands: Why? What do these dates reference?

Outcomes