Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

API should provide Last-Modified HTTP header #578

Closed

Description

@openstreetmap-trac

Reporter: openstreetmap[at]firefishy.com
[Submitted to the original trac issue database at 11.36am, Tuesday, 30th October 2007]

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

Activity

  1. openstreetmap-trac commented on Jul 23, 2021

    @openstreetmap-trac
    Author

    Author: tom[at]compton.nu
    [Added to the original trac issue at 10.04am, Wednesday, 31st October 2007]

    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.

  2. openstreetmap-trac commented on Jul 23, 2021

    @openstreetmap-trac
    Author

    Author: steve[at]fractalus.com
    [Added to the original trac issue at 5.44pm, Monday, 21st January 2008]

    fixed in nodes, ways and relations

  3. openstreetmap-trac commented on Jul 23, 2021

    @openstreetmap-trac
    Author

    Author: rjmunro[at]arjam.net
    [Added to the original trac issue at 11.38pm, Monday, 21st January 2008]

    Fixed in [6524].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions