Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#578 closed enhancement (fixed)

API should provide Last-Modified HTTP header

Reported by: Grant Slater Owned by: Tom Hughes
Priority: minor Milestone:
Component: api Version:
Keywords: Last-Modified HTTP Cc:

Description

The API should provide the Last-Modified HTTP header.

Last-Modified header definition: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.29

I would also recommend adding the following HTTP header to avoid potential caching problems: Cache-Control: s-maxage=0, max-age=0, must-revalidate, proxy-revalidate

Change History (4)

comment:1 Changed 11 years ago by Tom Hughes

Um... why? The cache-control maybe, but last-modified? It would be major pain in the arse to compute for at least some api calls and I don't see any benefit.

comment:2 Changed 11 years ago by Grant Slater

Priority: blockerminor

comment:3 Changed 11 years ago by steve@…

Resolution: fixed
Status: newclosed

fixed in nodes, ways and relations

comment:4 Changed 11 years ago by rjmunro@…

Fixed in [6524].

Note: See TracTickets for help on using tickets.