Skip to content

Server should include the Last-Modified header  #1793

Description

@csarven

Server MUST generate a Last-Modified header field in response to GET and HEAD requests.

https://solidproject.org/ED/protocol#server-last-modified-includes

Servers are strongly discouraged from exposing information beyond the minimum amount necessary to enable a feature.

https://solidproject.org/ED/protocol#exposing-information

So, the implementation should only expose the Last-Modified header when access is granted to the request target, i.e., when user or public has Read access to the resource. This is typically aligned with the 200 response.

Activity

  1. csarven commented on Sep 10, 2024

    @csarven
    MemberAuthor

    The modified timestamp can be easily retrieved using fs.stat and mtime.


    Here is a screencast showing an application making use of the header field in one particular way:

    https://dokie.li/media/video/dokieli-last-modified.webm

    dokieli-last-modified.webm

    See also solid/specification#678 (comment)

  2. knishkagithub commented on Oct 7, 2024

    @knishkagithub

    i would like to work in this issue,could you please assign it to me

  3. csarven commented on Oct 12, 2024

    @csarven
    MemberAuthor

    @knishkagithub , not sure if you got a notification about @bourgeoa assigning this issue to you but all yours now. Thanks!

  4. melvincarvalho commented on Apr 8, 2025

    @melvincarvalho
    Contributor

    @knishkagithub just wondering how you're getting on with this, as it's been 6 months. Need any help?

  5. AlyNotMe commented on Sep 23, 2026

    @AlyNotMe

    Hi, since there's been no activity for 6 months, would it be okay if I take this over? Happy to wait a bit for a reply, but wanted to check in case the original assignee has moved on. Thanks!

  6. added a commit that references this issue on Sep 23, 2026
    60402ad
  7. bourgeoa commented on Sep 23, 2026

    @bourgeoa
    Member

    Thanks. I shall review

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

Metadata

Metadata

Assignees

Labels

featuregood first issueAn issue that should be quite easy for newcomers to fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions