Skip to content

Add ETag middleware for conditional GET responses#30

Merged
brunogaspar merged 1 commit into
mainfrom
add-etag-middleware
May 11, 2026
Merged

Add ETag middleware for conditional GET responses#30
brunogaspar merged 1 commit into
mainfrom
add-etag-middleware

Conversation

@brunogaspar

@brunogaspar brunogaspar commented May 11, 2026

Copy link
Copy Markdown
Member

Generates ETag headers from response content and returns 304 Not Modified when the client sends a matching If-None-Match header. Only processes safe methods with successful, non-empty responses.


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

Generates ETag headers from response content and returns 304 Not
Modified when the client sends a matching If-None-Match header.
Only processes safe methods with successful, non-empty responses.
@brunogaspar brunogaspar self-assigned this May 11, 2026
@brunogaspar brunogaspar added the changelog:added New feature or addition label May 11, 2026
@brunogaspar brunogaspar marked this pull request as ready for review May 11, 2026 22:51
@brunogaspar brunogaspar merged commit 182b858 into main May 11, 2026
4 checks passed
@brunogaspar brunogaspar deleted the add-etag-middleware branch May 11, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:added New feature or addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant