FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: Generate ETags for description resources by jeswr · Pull Request #2269 · CommunitySolidServer/CommunitySolidServer · GitHub

Repository navigation

fix: Generate ETags for description resources - #2269

Open
jeswr wants to merge 1 commit into
CommunitySolidServer:mainfrom
jeswr:fix/description-resource-etag
Open

jeswr wants to merge 1 commit into
CommunitySolidServer:mainfrom
jeswr:fix/description-resource-etag

Conversation

jeswr commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

✍️ Description

Description resources (.meta) are returned without ETag or Last-Modified, so clients can't make conditional requests on them. They now take the modification date of the resource they describe, which also changes when the description is patched.

Added a unit test and an integration test in Conditions.test.ts (fails on main, no Last-Modified).

I used Claude Code to help write this change. I have reviewed the content of this PR myself.

✅ PR check list

  • Make sure you have personally reviewed and understood this contribution when using generative AI tools.
  • Target the correct branch based on semantic versioning.
    • main: Backwards compatible bug fixes and feature additions.
    • versions/next-major: Breaking changes, such as changes to APIs, configuration behaviour, or stored data.
  • Update documentation when relevant.
  • Update the release notes when adding new major features.

Description resources had no modification date, so they were returned
without an ETag or Last-Modified header, and clients could not make
conditional requests on them. They now share the modification date of
the resource they describe, which changes whenever the description does.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NeSZT7mKQVVBn4vqTZ6CRn

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL