Skip to content

Add Last-Modified header for GET and HEAD#1856

Open
SarthakDudhe wants to merge 1 commit intonodeSolidServer:mainfrom
SarthakDudhe:issue/1793-last-modified
Open

Add Last-Modified header for GET and HEAD#1856
SarthakDudhe wants to merge 1 commit intonodeSolidServer:mainfrom
SarthakDudhe:issue/1793-last-modified

Conversation

@SarthakDudhe
Copy link
Copy Markdown

Summary

  • add Last-Modified headers to successful GET and HEAD responses
  • use the file or container mtime as the header value
  • add integration coverage for both resources and containers

Fixes #1793.
Tests

  • npm run mocha-integration
  • npm run lint

Copy link
Copy Markdown
Member

@csarven csarven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. Tested and seems to work as intended. I haven't run the tests.

@csarven csarven self-requested a review May 6, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Server should include the Last-Modified header

2 participants