Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally exclude some body types from generating an Etag #19

Open
testinfected opened this issue Oct 15, 2014 · 0 comments
Open

Optionally exclude some body types from generating an Etag #19

testinfected opened this issue Oct 15, 2014 · 0 comments

Comments

@testinfected
Copy link
Owner

Make ETag middleware configurable with a list of body types considered not cacheable. When we encounter one of those bodies, we won't generate an ETag,

Something like:

new ETag().exclude(FileBody.class)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant