Skip to content

feat: support if-none-match for the extension list endpoint#271

Merged
joshiste merged 1 commit intomainfrom
feat/if-none-match-index
Mar 13, 2026
Merged

feat: support if-none-match for the extension list endpoint#271
joshiste merged 1 commit intomainfrom
feat/if-none-match-index

Conversation

@joshiste
Copy link
Member

Summary

  • Wrap the "/" index handler with exthttp.IfNoneMatchHandler using a startup timestamp as ETag
  • Allows clients to skip re-fetching the unchanged extension list via If-None-Match header
  • Move index handler registration to after all action/discovery registrations for consistency

Test plan

  • Verify extension starts and responds to GET / with an ETag header
  • Verify GET / with matching If-None-Match header returns 304 Not Modified

🤖 Generated with Claude Code

Use a startup timestamp as ETag for the "/" index handler so that
clients can avoid re-fetching the unchanged extension list.
@joshiste joshiste enabled auto-merge (squash) March 13, 2026 22:39
@sonarqubecloud
Copy link

@joshiste joshiste merged commit bb24182 into main Mar 13, 2026
12 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant